Skip to content

Commit

Permalink
feat(app-vite): tighten CSP for BEX (manifest v2)
Browse files Browse the repository at this point in the history
by removing 'unsafe-eval'
  • Loading branch information
yusufkandemir committed Aug 26, 2024
1 parent 62e6e78 commit 441ed78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app-vite/templates/bex/default/manifest-v2/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
"<all_urls>"
],

"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self';"
"content_security_policy": "script-src 'self'; object-src 'self';"
}
2 changes: 1 addition & 1 deletion app-vite/templates/bex/ts/manifest-v2/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
"<all_urls>"
],

"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self';"
"content_security_policy": "script-src 'self'; object-src 'self';"
}

0 comments on commit 441ed78

Please sign in to comment.