-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfirebase.json
44 lines (43 loc) · 1.57 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
{
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"headers": [
{
"source": "**",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; script-src 'self' 'unsafe-inline' https://apis.google.com https://accounts.google.com https://*.firebaseapp.com https://www.googletagmanager.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; connect-src 'self' https://firestore.googleapis.com https://apis.google.com https://accounts.google.com https://*.firebaseio.com https://*.firebaseapp.com https://identitytoolkit.googleapis.com https://securetoken.googleapis.com https://firebase.googleapis.com firebaseinstallations.googleapis.com https://www.google-analytics.com; frame-src 'self' https://accounts.google.com https://apis.google.com https://*.firebaseapp.com; img-src 'self' https://firebasestorage.googleapis.com data:; font-src 'self' https://fonts.gstatic.com;"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "unsafe-none"
},
{
"key": "Cross-Origin-Embedder-Policy",
"value": "unsafe-none"
},
{
"key": "Cross-Origin-Resource-Policy",
"value": "cross-origin"
}
]
}
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}