mirror of https://github.com/rancher/ui.git
Add google storage to CSP for SSL access
This commit is contained in:
parent
222759d08b
commit
86b3cf1439
|
|
@ -23,10 +23,10 @@ module.exports = function(environment) {
|
||||||
|
|
||||||
contentSecurityPolicy: {
|
contentSecurityPolicy: {
|
||||||
// Allow the occasional <elem style="blah">...
|
// Allow the occasional <elem style="blah">...
|
||||||
'style-src': "'self' cdn.rancher.io 'unsafe-inline'",
|
'style-src': "'self' cdn.rancher.io storage.googleapis.com 'unsafe-inline'",
|
||||||
'font-src': "'self' cdn.rancher.io",
|
'font-src': "'self' cdn.rancher.io storage.googleapis.com ",
|
||||||
'script-src': "'self' cdn.rancher.io",
|
'script-src': "'self' cdn.rancher.io storage.googleapis.com ",
|
||||||
'img-src': "'self' cdn.rancher.io avatars.githubusercontent.com",
|
'img-src': "'self' cdn.rancher.io storage.googleapis.com avatars.githubusercontent.com",
|
||||||
|
|
||||||
// Allow connect to anywhere, for console and event stream socket
|
// Allow connect to anywhere, for console and event stream socket
|
||||||
'connect-src': '*'
|
'connect-src': '*'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue