modify connect-src of Content Security Policy to include dynamic wss URL based on configured base URL
This commit is contained in:
parent
e57fc1c2d8
commit
5ff6266a5e
2 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,7 @@ module.exports = function(app) {
|
|||
"'self'",
|
||||
'wss://*.dev.lcip.org',
|
||||
'wss://*.send.nonprod.cloudops.mozgcp.net',
|
||||
'wss://send.firefox.com',
|
||||
config.base_url.replace(/^https:\/\//, 'wss://'),
|
||||
'https://*.dev.lcip.org',
|
||||
'https://accounts.firefox.com',
|
||||
'https://*.accounts.firefox.com',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue