-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfirebase.json
58 lines (58 loc) · 1.98 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
56
57
58
{
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"functions": {
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint",
"npm --prefix \"$RESOURCE_DIR\" run build"
],
"source": "functions"
},
"hosting": {
"public": "dist",
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"headers": [
{
"source": "**",
"headers": [
{
"key": "Content-Security-Policy-Report-Only",
"value": "child-src docs.google.com; connect-src 'self' firestore.googleapis.com www.google-analytics.com stats.g.doubleclick.net; img-src 'self' www.google-analytics.com www.google.com stats.g.doubleclick.net; default-src 'self' firestore.googleapis.com www.google-analytics.com stats.g.doubleclick.net; style-src 'self' 'unsafe-inline' 'unsafe-eval'; worker-src 'self'; manifest-src 'self'; script-src 'self' storage.googleapis.com www.google-analytics.com 'unsafe-inline' 'unsafe-eval'; font-src 'self'; frame-src docs.google.com; report-uri https://davidkassa.report-uri.com/r/d/csp/wizard;"
},
{
"key": "Report-To",
"value": "{'group':'default','max_age':31536000,'endpoints':[{'url':'https://davidkassa.report-uri.com/a/d/g'}],'include_subdomains':true}"
},
{
"key": "NEL",
"value": "{'report_to':'default','max_age':31536000,'include_subdomains':true}"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
}
]
}
],
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
}
}