Skip to content

Commit

Permalink
fix: add cloud run service to content security policy
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Dec 12, 2023
1 parent 292b351 commit 977b207
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
],
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "/robots.txt",
Expand Down Expand Up @@ -60,7 +56,7 @@
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'none'; font-src *; worker-src blob:; script-src 'self' 'unsafe-eval' https://*.google.com https://www.googletagmanager.com 'unsafe-inline' https://js.arcgis.com; connect-src 'self' https://*.cloudfunctions.net https://*.utah.gov https://*.googleapis.com https://*.arcgis.com https://www.google-analytics.com https://ut-dts-agrc-web-api-dev.web.app; img-src 'self' blob: data: https://www.gravatar.com https://*.wp.com https://*.utah.gov https://*.arcgis.com https://www.googletagmanager.com https://*.googleapis.com; style-src 'self' 'unsafe-inline' https://*.googleapis.com; base-uri 'self'; form-action 'self'; frame-src *; object-src 'self' https://*.googleapis.com"
"value": "default-src 'none'; font-src *; worker-src blob:; script-src 'self' 'unsafe-eval' https://*.google.com https://www.googletagmanager.com 'unsafe-inline' https://js.arcgis.com; connect-src 'self' https://*.cloudfunctions.net https://*.utah.gov https://*.googleapis.com https://*.arcgis.com https://www.google-analytics.com https://ut-dts-agrc-web-api-dev.web.app; img-src 'self' blob: data: https://www.gravatar.com https://*.wp.com https://*.utah.gov https://*.arcgis.com https://www.googletagmanager.com https://*.googleapis.com; style-src 'self' 'unsafe-inline' https://*.googleapis.com; base-uri 'self'; form-action 'self'; frame-src *; object-src 'self' https://*.googleapis.com https://*.run.app"
}
]
},
Expand Down

0 comments on commit 977b207

Please sign in to comment.