Skip to content

Commit

Permalink
feat(app-webpack): 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 dd96775 commit 62e6e78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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-webpack/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 62e6e78

Please sign in to comment.