Skip to content

Commit

Permalink
feat(browser-ext): update content_security_policy to support wasm (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzhang1030 authored Jun 21, 2024
1 parent 7ac0a13 commit dd4c429
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/chrome-extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'"
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
},
"description": "DevTools browser extension for Vue.js",
"devtools_page": "pages/devtools-background.html",
Expand Down
2 changes: 1 addition & 1 deletion packages/firefox-extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"run_at": "document_idle"
}
],
"content_security_policy": "script-src 'self'; object-src 'self'",
"content_security_policy": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'",
"description": "DevTools browser extension for Vue.js",
"devtools_page": "devtools-background.html",
"icons": {
Expand Down

0 comments on commit dd4c429

Please sign in to comment.