Add google storage to CSP for SSL access

This commit is contained in:
Vincent Fiduccia 2015-01-14 15:25:12 -07:00
parent 222759d08b
commit 86b3cf1439
1 changed files with 4 additions and 4 deletions

View File

@ -23,10 +23,10 @@ module.exports = function(environment) {
contentSecurityPolicy: {
// Allow the occasional <elem style="blah">...
'style-src': "'self' cdn.rancher.io 'unsafe-inline'",
'font-src': "'self' cdn.rancher.io",
'script-src': "'self' cdn.rancher.io",
'img-src': "'self' cdn.rancher.io avatars.githubusercontent.com",
'style-src': "'self' cdn.rancher.io storage.googleapis.com 'unsafe-inline'",
'font-src': "'self' cdn.rancher.io storage.googleapis.com ",
'script-src': "'self' cdn.rancher.io storage.googleapis.com ",
'img-src': "'self' cdn.rancher.io storage.googleapis.com avatars.githubusercontent.com",
// Allow connect to anywhere, for console and event stream socket
'connect-src': '*'