Skip to content

Commit

Permalink
Fix site running locally due to not supporting 'self' in CSP (#3563)
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed Sep 10, 2021
1 parent a6e1e1b commit e491c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"source": "**",
"headers": [
{ "key": "Content-Security-Policy", "value": "default-src https:; script-src 'self' 'unsafe-eval' 'sha256-cTJIwsgB4Xj1loi9AdzTWk3GZ5Kx0NremLhkGfw9zWc=' 'sha256-acZJdbnwXvMNQmfri3ENcArTn+GH3sY664c1uY0xxpg=' https://www.googletagmanager.com https://www.google-analytics.com https://ssl.google-analytics.com https://gstatic.com https://*.gstatic.com https://dartpad.dev https://*.dartpad.dev https://youtube.com https://*.youtube.com https://fonts.googleapis.com https://doubleclick.net https://*.doubleclick.net https://google.com https://*.google.com https://storage.googleapis.com; object-src 'none'; base-uri 'none'; style-src https: 'unsafe-inline'"},
{ "key": "Content-Security-Policy", "value": "default-src 'self' https:; script-src 'self' 'unsafe-eval' 'sha256-cTJIwsgB4Xj1loi9AdzTWk3GZ5Kx0NremLhkGfw9zWc=' 'sha256-acZJdbnwXvMNQmfri3ENcArTn+GH3sY664c1uY0xxpg=' https://www.googletagmanager.com https://www.google-analytics.com https://ssl.google-analytics.com https://gstatic.com https://*.gstatic.com https://dartpad.dev https://*.dartpad.dev https://youtube.com https://*.youtube.com https://fonts.googleapis.com https://doubleclick.net https://*.doubleclick.net https://google.com https://*.google.com https://storage.googleapis.com; object-src 'none'; base-uri 'none'; style-src 'self' https: 'unsafe-inline'"},
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin"},
{ "key": "X-Frame-Options", "value": "SAMEORIGIN"},
{ "key": "X-Content-Type-Options", "value": "nosniff"},
Expand Down

0 comments on commit e491c81

Please sign in to comment.