mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add a few more CSP directives
This commit is contained in:
parent
e7fab85194
commit
19493e969f
1 changed files with 3 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ const ContentSecurityPolicy = `
|
|||
default-src 'none';
|
||||
base-uri 'self';
|
||||
block-all-mixed-content;
|
||||
connect-src 'self' api-prod.omnivore.app api-demo.omnivore.app;
|
||||
connect-src 'self' api-prod.omnivore.app api-demo.omnivore.app proxy-prod.omnivore-image-cache.app proxy-demo.omnivore-image-cache.app api.segment.io cdn.segment.com widget.intercom.io api-iam.intercom.io wss://nexus-websocket-a.intercom.io platform.twitter.com;
|
||||
font-src 'self';
|
||||
form-action 'self' api-prod.omnivore.app api-demo.omnivore.app;
|
||||
frame-ancestors 'none';
|
||||
|
|
@ -10,6 +10,8 @@ const ContentSecurityPolicy = `
|
|||
manifest-src 'self';
|
||||
script-src script-src 'self' 'unsafe-inline';
|
||||
style-src 'self' 'unsafe-inline';
|
||||
img-src 'self';
|
||||
manifest-src 'self';
|
||||
`
|
||||
|
||||
const moduleExports = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue