-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirebase.json
61 lines (61 loc) · 1.8 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
59
60
61
{
"hosting": {
"public": "build",
"rewrites": [
{
"source": "/api/login",
"function": "api"
},
{
"source": "/api/auth",
"function": "api"
},
{
"source": "**",
"function": "preRender"
}
],
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"headers": [{
"source":"**",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "https://death.finance"
},
{
"key": "Permissions-Policy",
"value": "autoplay=(), camera=(), fullscreen=(), geolocation=(), microphone=()"
},
{
"key": "Referrer-Policy",
"value": "no-referrer"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-XSS-protection",
"value": "1; mode=block"
},
{
"key": "Content-Security-Policy",
"value": "connect-src 'self' https://us-central1-deathfinance.cloudfunctions.net https://us-central1-composeart-f9a7a.cloudfunctions.net https://firestore.googleapis.com https://api.opensea.io; default-src 'self'; font-src https://death.finance https://dev.death.finance https://wagdie.app; img-src 'self' https://storage.opensea.io https://lh3.googleusercontent.com https://storage.googleapis.com; manifest-src 'self'; object-src 'none'; script-src 'self' 'unsafe-inline'; style-src 'self' https://fonts.googleapis.com 'unsafe-inline'; upgrade-insecure-requests;"
}
]
}]
}
}