-
Notifications
You must be signed in to change notification settings - Fork 2
/
firebase.json
70 lines (70 loc) · 3.28 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
62
63
64
65
66
67
68
69
70
{
"hosting": {
"public": "dist",
"cleanUrls": true,
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"headers": [
{
"source": "**/*.toml",
"headers": [
{ "key": "Content-Type", "value": "text/toml" }
]
},
{
"source": "**/*.+([0-9a-f]).@(css|js|svg|jpg|jpeg|gif|png)",
"headers": [
{ "key": "Cache-Control", "value": "max-age=31536000" },
{ "key": "Access-Control-Allow-Origin", "value": "*" }
]
},
{
"source": ".well-known/**",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "*" }
]
},
{
"source": "**",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "https://astrograph.io" },
{ "key": "Vary", "value": "Origin" },
{ "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": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "Feature-Policy", "value": "geolocation 'none'; microphone 'none'" },
{ "key": "Permissions-Policy", "value": "geolocation=(), microphone=()" },
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" },
{ "key": "Content-Security-Policy", "value": "base-uri 'none'; script-src 'self' 'sha256-O48WLAtLTVlj/BPL9nKWEEZeL9xwVW05uE5mosVRTic=' 'sha256-4qibwb0iG1ao5jZ2KlNufwMgPyRitweBHnrR9/3YQro=' 'sha256-C5M1hrzp4wjuECEZ0IJHcVaTX1E3Ne9uCJCuUrbfbTA=' 'unsafe-inline' https://www.google-analytics.com https://www.googletagmanager.com; form-action 'none'; frame-ancestors 'none'; object-src 'none'; require-trusted-types-for 'script'; report-uri https://astrograph.report-uri.com/r/d/csp/enforce; report-to default" },
{ "key": "Content-Security-Policy-Report-Only", "value": "base-uri 'none'; script-src 'strict-dynamic' 'sha256-O48WLAtLTVlj/BPL9nKWEEZeL9xwVW05uE5mosVRTic=' 'sha256-4qibwb0iG1ao5jZ2KlNufwMgPyRitweBHnrR9/3YQro=' 'sha256-C5M1hrzp4wjuECEZ0IJHcVaTX1E3Ne9uCJCuUrbfbTA=' 'unsafe-inline' https:; form-action 'none'; frame-ancestors 'none'; object-src 'none'; require-trusted-types-for 'script'; connect-src https://pubnet.astrograph.io wss://pubnet.astrograph.io https://www.google-analytics.com; report-uri https://astrograph.report-uri.com/r/d/csp/wizard; report-to default" },
{ "key": "Report-To", "value": "{\"group\":\"default\",\"max_age\":31536000,\"endpoints\":[{\"url\":\"https://astrograph.report-uri.com/a/d/g\"}],\"include_subdomains\":true}" },
{ "key": "NEL", "value": "{\"report_to\":\"default\",\"max_age\":31536000,\"include_subdomains\":true}" }
]
}
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"redirects": [
{
"source": "/docs{,/}",
"destination": "/docs/schema/",
"type": 302
},
{
"source": "/humans.txt",
"destination": "/martians.txt",
"type": 301
}
],
"predeploy": "pnpm build && pnpm run docs:schema"
}
}