summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiterallie2017-10-21 00:48:48 +0200
committerLiterallie2017-10-22 00:03:46 +0200
commit2b2b8d6d1daa0cd8a90459a9592d2c0dd753f8b2 (patch)
tree9171bd6faf6352fd61bbf77c347456295605c26c
parentd51da8c12c2446d081eaa7f32406941b09142c1c (diff)
Allow any connect-src in CSP
Managing these for all the integrations seems like a lot of effort
Diffstat (limited to '')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index 8664707d..c382cc35 100644
--- a/app.js
+++ b/app.js
@@ -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'],