Don't allow unsafe inline scripts
This commit is contained in:
parent
f6751e4b08
commit
571552b861
|
@ -87,7 +87,7 @@ module.exports = function(environment) {
|
|||
'default-src': "'none'",
|
||||
// TODO: for some reason unsafe-eval is needed when I use collection helper,
|
||||
// we should probably remove it at some point
|
||||
'script-src': "'self' 'unsafe-eval' 'unsafe-inline'",
|
||||
'script-src': "'self' 'unsafe-eval'",
|
||||
'font-src': "'self'",
|
||||
'connect-src': "'self' https://api.travis-ci.org ws://ws.pusherapp.com wss://ws.pusherapp.com http://sockjs.pusher.com",
|
||||
'img-src': "'self' data: https://www.gravatar.com http://www.gravatar.com",
|
||||
|
|
Loading…
Reference in New Issue
Block a user