diff --git a/frontend/Caddyfile b/frontend/Caddyfile index a500ad0fc..8d4df65e6 100644 --- a/frontend/Caddyfile +++ b/frontend/Caddyfile @@ -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 ;style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://use.fontawesome.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: https://fonts.googleapis.com http://www.w3.org https://*.gov.bc.ca" + Content-Security-Policy "default-src 'self' https://spt.apps.gov.bc.ca data:; script-src 'self' 'unsafe-eval' https://www2.gov.bc.ca ;style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://use.fontawesome.com https://stackpath.bootstrapcdn.com; font-src 'self' https://fonts.gstatic.com https://stackpath.bootstrapcdn.com; img-src 'self' data: https://fonts.googleapis.com http://www.w3.org https://*.gov.bc.ca; connect-src 'self' http://localhost:8000 https://*.gov.bc.ca; child-src 'self' *.gov.bc.ca; worker-src 'self' https://*.gov.bc.ca http://localhost:3005 blob:;" Referrer-Policy "same-origin" Feature-Policy "fullscreen 'self'; camera 'none'; microphone 'none'" } diff --git a/frontend/src/main.js b/frontend/src/main.js index 8efaca15a..a183a4042 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -112,6 +112,6 @@ new Vue({ }, created () { this.FETCH_CONFIG() - window._paq.push(['trackPageView']) // To track pageview - Matomo + // window._paq.push(['trackPageView']) // To track pageview - Matomo } })