-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfirebase.json
55 lines (55 loc) · 1.88 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"hosting": {
"public": "dist/translation",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"headers": [
{
"source": "**",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; script-src 'unsafe-inline' 'self' blob: data: https://securetoken.googleapis.com https://www.gstatic.com https://www.googleapis.com https://trusted.cdn.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' blob: data: https://www.google.com; font-src 'self' https://fonts.gstatic.com; connect-src 'self' data: https://westeurope.api.cognitive.microsoft.com wss://westeurope.tts.speech.microsoft.com wss://westeurope.stt.speech.microsoft.com https://firestore.googleapis.com https://securetoken.googleapis.com https://www.googleapis.com https://identitytoolkit.googleapis.com https://fonts.gstatic.com {{BACKEND_GATEWAY}}; frame-ancestors 'none'; base-uri 'self'; media-src 'self' blob: https://www.youtube.com;"
},
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Permissions-Policy",
"value": "geolocation=(), microphone=(self), camera=()"
},
{
"key": "Cache-Control",
"value": "no-cache, no-store, must-revalidate"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Expires",
"value": "0"
}
]
}
]
}
}