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