mirror of https://github.com/status-im/codimd.git
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
2
app.js
2
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'],
|
||||
|
|
Loading…
Reference in New Issue