Allow any connect-src in CSP

Managing these for all the integrations seems like a lot of effort
This commit is contained in:
Literallie 2017-10-21 00:48:48 +02:00
parent d51da8c12c
commit 2b2b8d6d1d
No known key found for this signature in database
GPG Key ID: 7BE463C902ED152C
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -145,7 +145,7 @@ if (config.csp.enable) {
fontSrc: ['\'self\'', 'https://public.slidesharecdn.com'],
objectSrc: ['*'], // Chrome PDF viewer treats PDFs as objects :/
childSrc: ['*'],
connectSrc: ['\'self\'', 'https://links.services.disqus.com', 'wss://realtime.services.disqus.com']
connectSrc: ['*']
};
var cdnDirectives = {
scriptSrc: ['https://cdnjs.cloudflare.com', 'https://cdn.mathjax.org'],