Skip to content

Commit

Permalink
fix(frontend): Caddyfile update CSP
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp committed Feb 26, 2024
1 parent e6f9262 commit f12cb82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate"
X-Content-Type-Options "nosniff"
Strict-Transport-Security "max-age=31536000"
Content-Security-Policy "default-src 'self' https://spt.apps.gov.bc.ca data:; script-src 'self' 'unsafe-eval' https://www2.gov.bc.ca https://*.openstreetmap.org;style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://use.fontawesome.com; font-src 'self' https://fonts.gstatic.com https://*.openstreetmap.org; img-src 'self' data: https://fonts.googleapis.com http://www.w3.org https://*.gov.bc.ca https://*.openstreetmap.org"
Content-Security-Policy "default-src 'self' https://spt.apps.gov.bc.ca data: https://*.openstreetmap.org ; script-src 'self' 'unsafe-eval' https://www2.gov.bc.ca https://*.openstreetmap.org; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://use.fontawesome.com https://*.openstreetmap.org; font-src 'self' https://fonts.gstatic.com https://*.openstreetmap.org; img-src 'self' data: https://fonts.googleapis.com http://www.w3.org https://*.gov.bc.ca https://*.openstreetmap.org"
Referrer-Policy "same-origin"
Feature-Policy "fullscreen 'self'; camera 'none'; microphone 'none'"
}
Expand Down

0 comments on commit f12cb82

Please sign in to comment.