Allow any connect-src in CSP
Managing these for all the integrations seems like a lot of effort
This commit is contained in:
parent
d51da8c12c
commit
2b2b8d6d1d
1 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
@ -145,7 +145,7 @@ if (config.csp.enable) {
|
||||||
fontSrc: ['\'self\'', 'https://public.slidesharecdn.com'],
|
fontSrc: ['\'self\'', 'https://public.slidesharecdn.com'],
|
||||||
objectSrc: ['*'], // Chrome PDF viewer treats PDFs as objects :/
|
objectSrc: ['*'], // Chrome PDF viewer treats PDFs as objects :/
|
||||||
childSrc: ['*'],
|
childSrc: ['*'],
|
||||||
connectSrc: ['\'self\'', 'https://links.services.disqus.com', 'wss://realtime.services.disqus.com']
|
connectSrc: ['*']
|
||||||
};
|
};
|
||||||
var cdnDirectives = {
|
var cdnDirectives = {
|
||||||
scriptSrc: ['https://cdnjs.cloudflare.com', 'https://cdn.mathjax.org'],
|
scriptSrc: ['https://cdnjs.cloudflare.com', 'https://cdn.mathjax.org'],
|
||||||
|
|
Loading…
Reference in a new issue