11{
2- "hosting" : {
3- "site" : " namerequest-dev" ,
4- "public" : " dist" ,
5- "ignore" : [
6- " **/devops/**" ,
7- " **/.*" ,
8- " **/node_modules/**"
9- ],
10- "rewrites" : [
11- {
12- "source" : " **" ,
13- "destination" : " /index.html"
14- }
15- ],
16- "headers" : [
17- {
18- "source" : " **" ,
19- "headers" : [
20- {
21- "key" : " Access-Control-Allow-Origin" ,
22- "value" : " *"
23- },
24- {
25- "key" : " X-Frame-Options" ,
26- "value" : " DENY"
27- },
28- {
29- "key" : " X-Content-Type-Options" ,
30- "value" : " nosniff"
31- },
32- {
33- "key" : " X-XSS-Protection" ,
34- "value" : " 1; mode=block"
35- },
36- {
37- "key" : " Content-Security-Policy" ,
38- "value" : " default-src 'self'; frame-src 'self' *.gov.bc.ca *.hotjar.com *.googleapis.com https://*.nr-data.net https://*.newrelic.com https://*.cac1.pure.cloud; script-src 'self' 'unsafe-eval' 'unsafe-inline' *.gov.bc.ca *.hotjar.com *.googleapis.com https://*.nr-data.net https://*.newrelic.com https://*.cac1.pure.cloud; style-src 'self' 'unsafe-inline' *.cloudflare.com *.googleapis.com; font-src 'self' *.gov.bc.ca *.hotjar.com *.cloudflare.com *.googleapis.com *.gstatic.com *.jsdelivr.net; img-src 'self' data: *.hotjar.com https://*.cac1.pure.cloud; connect-src 'self' *.gov.bc.ca *.run.app *.launchdarkly.com *.hotjar.com *.postescanada-canadapost.ca *.apigee.net wss://*.hotjar.com *.hotjar.io https://*.nr-data.net https://shyrka-prod-cac1.s3.ca-central-1.amazonaws.com https://*.newrelic.com https://*.cac1.pure.cloud wss://*.cac1.pure.cloud; manifest-src 'self'; media-src 'self' https://*.cac1.pure.cloud; object-src 'self' https://*.cac1.pure.cloud; child-src 'self' https://*.cac1.pure.cloud;"
39- },
40- {
41- "key" : " Cache-Control" ,
42- "value" : " no-cache, no-store, must-revalidate"
43- },
44- {
45- "key" : " Pragma" ,
46- "value" : " no-cache"
47- },
48- {
49- "key" : " Referrer-Policy" ,
50- "value" : " no-referrer"
51- },
52- {
53- "key" : " Feature-Policy" ,
54- "value" : " microphone 'self'"
55- },
56- {
57- "key" : " Strict-Transport-Security" ,
58- "value" : " max-age=31536000;"
59- }
60- ]
61- }
62- ]
63- }
2+ "hosting" : {
3+ "site" : " namerequest-dev" ,
4+ "public" : " dist" ,
5+ "ignore" : [
6+ " **/devops/**" ,
7+ " **/.*" ,
8+ " **/node_modules/**"
9+ ],
10+ "rewrites" : [
11+ {
12+ "source" : " **" ,
13+ "destination" : " /index.html"
14+ }
15+ ],
16+ "headers" : [
17+ {
18+ "source" : " **" ,
19+ "headers" : [
20+ {
21+ "key" : " Access-Control-Allow-Origin" ,
22+ "value" : " *"
23+ },
24+ {
25+ "key" : " X-Frame-Options" ,
26+ "value" : " DENY"
27+ },
28+ {
29+ "key" : " X-Content-Type-Options" ,
30+ "value" : " nosniff"
31+ },
32+ {
33+ "key" : " X-XSS-Protection" ,
34+ "value" : " 1; mode=block"
35+ },
36+ {
37+ "key" : " Content-Security-Policy" ,
38+ "value" : " default-src 'self'; frame-src 'self' *.gov.bc.ca *.googleapis.com https://*.nr-data.net https://*.newrelic.com https://*.cac1.pure.cloud; script-src 'self' 'unsafe-eval' 'unsafe-inline' *.gov.bc.ca *.googleapis.com https://*.nr-data.net https://*.newrelic.com https://*.cac1.pure.cloud; style-src 'self' 'unsafe-inline' *.cloudflare.com *.googleapis.com; font-src 'self' *.gov.bc.ca *.cloudflare.com *.googleapis.com *.gstatic.com *.jsdelivr.net; img-src 'self' data: https://*.cac1.pure.cloud; connect-src 'self' *.gov.bc.ca *.run.app *.launchdarkly.com *.postescanada-canadapost.ca *.apigee.net https://*.nr-data.net https://shyrka-prod-cac1.s3.ca-central-1.amazonaws.com https://*.newrelic.com https://*.cac1.pure.cloud wss://*.cac1.pure.cloud; manifest-src 'self'; media-src 'self' https://*.cac1.pure.cloud; object-src 'self' https://*.cac1.pure.cloud; child-src 'self' https://*.cac1.pure.cloud;"
39+ },
40+ {
41+ "key" : " Cache-Control" ,
42+ "value" : " no-cache, no-store, must-revalidate"
43+ },
44+ {
45+ "key" : " Pragma" ,
46+ "value" : " no-cache"
47+ },
48+ {
49+ "key" : " Referrer-Policy" ,
50+ "value" : " no-referrer"
51+ },
52+ {
53+ "key" : " Feature-Policy" ,
54+ "value" : " microphone 'self'"
55+ },
56+ {
57+ "key" : " Strict-Transport-Security" ,
58+ "value" : " max-age=31536000;"
59+ }
60+ ]
61+ }
62+ ]
6463 }
64+ }
0 commit comments