Skip to content

Commit

Permalink
fix: resolve csp to allow images and data to come from esri sources
Browse files Browse the repository at this point in the history
  • Loading branch information
franTarkenton committed May 11, 2024
1 parent 5c3e5f6 commit c2d2eb3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion frontend/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
default-src
'self'
https://spt.apps.gov.bc.ca
https://*.arcgis.com
data:;
script-src
'self'
Expand All @@ -54,7 +55,13 @@
https://fonts.gstatic.com;
img-src
'self'
data: https://fonts.googleapis.com http://www.w3.org https://*.gov.bc.ca https://*.openstreetmap.org
data:
https://fonts.googleapis.com
http://www.w3.org
https://*.gov.bc.ca
https://*.openstreetmap.org
http://*.arcgisonline.com
https://*.arcgis.com;
"
Referrer-Policy "same-origin"
Feature-Policy "fullscreen 'self'; camera 'none'; microphone 'none'"
Expand Down

0 comments on commit c2d2eb3

Please sign in to comment.