diff --git a/frontend/Caddyfile b/frontend/Caddyfile index c32a6e54..3012f01b 100644 --- a/frontend/Caddyfile +++ b/frontend/Caddyfile @@ -36,7 +36,12 @@ 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: 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" + Content-Security-Policy " + default-src 'self' https://spt.apps.gov.bc.ca data: https://*.openstreetmap.org ; + script-src 'self' 'unsafe-inline' 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'" } diff --git a/frontend/src/routes/index.tsx b/frontend/src/routes/index.tsx index 2b180573..acd6f53c 100644 --- a/frontend/src/routes/index.tsx +++ b/frontend/src/routes/index.tsx @@ -10,7 +10,7 @@ export default function AppRoutes() { } /> } /> } /> - } /> + } /> ) }