-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
firebase.json
27 lines (27 loc) · 1.5 KB
/
firebase.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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' '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" }
]
}
]
}
}