Skip to content
Snippets Groups Projects
Commit 9478cde8 authored by Cam Saül's avatar Cam Saül
Browse files

Fix Firefox Content-Security-Policy warnings [ci skip]

parent 9580c50f
No related branches found
No related tags found
No related merge requests found
......@@ -191,11 +191,9 @@
"https://www.google-analytics.com" ; Safari requires the protocol
"https://*.googleapis.com"
"*.gstatic.com"
"js.intercomcdn.com"
"*.intercom.io"
(when config/is-dev?
"localhost:8080")]
:frame-src ["'self'"
:child-src ["'self'"
"https://accounts.google.com"] ; TODO - double check that we actually need this for Google Auth
:style-src ["'unsafe-inline'"
"'self'"
......@@ -206,11 +204,9 @@
(when config/is-dev?
"localhost:8080")]
:img-src ["*"
"self data:"]
"'self' data:"]
:connect-src ["'self'"
"metabase.us10.list-manage.com"
"*.intercom.io"
"wss://*.intercom.io" ; allow websockets as well
(when config/is-dev?
"localhost:8080 ws://localhost:8080")]}]
(format "%s %s; " (name k) (apply str (interpose " " vs)))))})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment