-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfirebase.json
124 lines (124 loc) · 3.86 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"hosting": {
"public": "www",
"trailingSlash": false,
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"headers": [
{
"source": "**/*",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=0, must-revalidate"
},
{
"key": "Content-Security-Policy-Report-Only",
"value": "default-src 'self'; connect-src 'self' *.ingest.us.sentry.io support.megabyte.space www.google-analytics.com onesignal.com *.algolia.net; font-src 'self' fonts.gstatic.com; form-action 'self'; frame-src support.megabyte.space www.googletagmanager.com; img-src 'self' data: www.facebook.com www.googletagmanager.com media.onesignal.com; manifest-src 'self'; script-src-elem 'self' 'unsafe-inline' browser.sentry-cdn.com js.sentry-cdn.com install-doctor.disqus.com support.megabyte.space connect.facebook.net www.googletagmanager.com storage.googleapis.com cdn.onesignal.com onesignal.com; script-src 'unsafe-eval' 'self'; style-src-attr 'unsafe-inline'; style-src-elem 'self' 'unsafe-inline' fonts.googleapis.com onesignal.com; worker-src 'self'; media-src 'self'; style-src 'self'; frame-ancestors 'none'; report-uri https://megabytelabs.report-uri.com/r/d/csp/wizard"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-UA-Compatible",
"value": "ie=edge"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
}
]
},
{
"source": "**/*.@(eot|otf|ttf|ttc|woff|css|js|png|webp|jpg|jpeg|ico|svg)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=31536000"
}
]
},
{
"source": "blog/rss.xml",
"headers": [
{
"key": "Content-Type",
"value": "application/rss+xml"
}
]
},
{
"source": "manifest.json",
"headers": [
{
"key": "Content-Type",
"value": "application/manifest+json"
},
{
"key": "Cache-Control",
"value": "max-age=0, must-revalidate"
}
]
},
{
"source": "sw.js",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=0, must-revalidate"
}
]
},
{
"source": "/docs/opensearch.xml",
"headers": [
{
"key": "Content-Type",
"value": "application/opensearchdescription+xml"
}
]
}
],
"redirects": [
{
"source": "/start",
"destination": "https://raw.githubusercontent.com/megabyte-labs/install.doctor/master/scripts/provision.sh",
"type": 301
},
{
"source": "/windows",
"destination": "https://raw.githubusercontent.com/megabyte-labs/install.doctor/master/scripts/provision.ps1",
"type": 301
},
{
"source": "/vagrant",
"destination": "https://raw.githubusercontent.com/megabyte-labs/install.doctor/master/scripts/vagrant.sh",
"type": 301
},
{
"source": "/vagrant-windows",
"destination": "https://raw.githubusercontent.com/megabyte-labs/install.doctor/master/scripts/vagrant.ps1",
"type": 301
},
{
"source": "/opensearch.xml",
"destination": "/docs/opensearch.xml",
"type": 301
}
],
"rewrites": [
{
"source": "/blog/rss.xml",
"destination": "https://rss.manhattan.workers.dev"
},
{
"source": "/api/email",
"destination": "https://email.manhattan.workers.dev"
}
]
}
}