Skip to content

Commit

Permalink
fix: Content Security Policy error
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Jan 27, 2020
1 parent 2adb2a2 commit 939e038
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webpack.development.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = merge(base, {
'base-uri': ["'self'"],
'object-src': ["'none'"],
'script-src': ["'self'"],
'style-src': ["'self'"],
'style-src': ["'self' 'unsafe-inline'"],
'frame-src': ["'none'"],
'worker-src': ["'none'"],
}),
Expand Down
2 changes: 1 addition & 1 deletion webpack.production.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = merge(base, {
'base-uri': ["'self'"],
'object-src': ["'none'"],
'script-src': ["'self'"],
'style-src': ["'self'"],
'style-src': ["'self' 'unsafe-inline'"],
'frame-src': ["'none'"],
'worker-src': ["'none'"],
}),
Expand Down

0 comments on commit 939e038

Please sign in to comment.