fixed silly regex bug on startup
This commit is contained in:
parent
3c27656444
commit
2f503c91e4
|
@ -61,9 +61,9 @@ module.exports = function(app) {
|
|||
csp.directives.connectSrc.push(config.sentry_host);
|
||||
}
|
||||
if (
|
||||
config.base_url.test(/^https:\/\/.*\.dev\.lcip\.org$/) ||
|
||||
config.base_url.test(
|
||||
/^https:\/\/.*\.send\.nonprod\.cloudops\.mozgcp\.net$/
|
||||
/^https:\/\/.*\.dev\.lcip\.org$/.test(config.base_url) ||
|
||||
/^https:\/\/.*\.send\.nonprod\.cloudops\.mozgcp\.net$/.test(
|
||||
config.base_url
|
||||
)
|
||||
) {
|
||||
csp.directives.connectSrc.push('https://*.dev.lcip.org');
|
||||
|
|
Loading…
Reference in New Issue