diff --git a/firebase.json b/firebase.json index f83022ced9..e54c4a38e6 100644 --- a/firebase.json +++ b/firebase.json @@ -1,27 +1,27 @@ { - "hosting": { - "public": "dist", - "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], - "rewrites": [ - { - "source": "**", - "destination": "/index.html" - } - ], - "headers": [ - { - "source": "**", - "headers": [ - { - "key": "Content-Security-Policy", - "value": "default-src 'self' https://sws2apps-tools.firebaseapp.com https://cpe-sws.firebaseapp.com blob:; img-src 'self' data: https://*.googleusercontent.com https://s.yimg.com blob:; script-src 'self' https://fpnpmcdn.net https://apis.google.com https://www.googletagmanager.com; connect-src 'self' data: https://api.sws2apps.com https://sws2apps.herokuapp.com https://*.fpapi.io https://api.fpjs.io https://*.fptls.com https://app.jw-cdn.org https://www.jw.org https://identitytoolkit.googleapis.com https://apis.google.com https://securetoken.googleapis.com https://firebaseinstallations.googleapis.com https://firebase.googleapis.com https://*.google-analytics.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' data: https://fonts.gstatic.com; base-uri 'self' https://www.jw.org; form-action 'self'; object-src 'none'; frame-ancestors 'none'" - }, - { "key": "Cache-Control", "value": "no-cache" }, - { "key": "X-Content-Type-Options", "value": "nosniff" }, - { "key": "X-Frame-Options", "value": "DENY" }, - { "key": "XSS-Protection", "value": "1; mode=block" } - ] - } - ] - } + "hosting": { + "public": "dist", + "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ], + "headers": [ + { + "source": "**", + "headers": [ + { + "key": "Content-Security-Policy", + "value": "default-src 'self' https://sws2apps-tools.firebaseapp.com https://cpe-sws.firebaseapp.com blob:; img-src 'self' data: https://*.googleusercontent.com https://s.yimg.com blob:; script-src 'self' 'unsafe-eval' https://fpnpmcdn.net https://apis.google.com https://www.googletagmanager.com; connect-src 'self' data: https://api.sws2apps.com https://sws2apps.herokuapp.com https://*.fpapi.io https://api.fpjs.io https://*.fptls.com https://app.jw-cdn.org https://www.jw.org https://identitytoolkit.googleapis.com https://apis.google.com https://securetoken.googleapis.com https://firebaseinstallations.googleapis.com https://firebase.googleapis.com https://*.google-analytics.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' data: https://fonts.gstatic.com; base-uri 'self' https://www.jw.org; form-action 'self'; object-src 'none'; frame-ancestors 'none'" + }, + { "key": "Cache-Control", "value": "no-cache" }, + { "key": "X-Content-Type-Options", "value": "nosniff" }, + { "key": "X-Frame-Options", "value": "DENY" }, + { "key": "XSS-Protection", "value": "1; mode=block" } + ] + } + ] + } }