Skip to content

Commit

Permalink
Add unsafe inline and blob to CSP
Browse files Browse the repository at this point in the history
  • Loading branch information
a-roberts authored and tekton-robot committed Apr 21, 2020
1 parent 7bbdda6 commit fd3841c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const contentSecurityPolicy = {
development:
"default-src 'none'; img-src 'self'; script-src 'self' 'unsafe-eval'; style-src blob:; connect-src 'self'; font-src 'self' https://fonts.gstatic.com;",
production:
"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; connect-src 'self'; font-src 'self' https://fonts.gstatic.com;"
"default-src 'none'; img-src 'self'; script-src 'self' blob:; style-src 'self' 'unsafe-inline'; connect-src 'self'; font-src 'self' https://fonts.gstatic.com;"
};

module.exports = ({ mode }) => ({
Expand Down

0 comments on commit fd3841c

Please sign in to comment.