-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfirebase.json
27 lines (27 loc) · 1.02 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
{
"hosting": {
"public": "public",
"redirects": [
{
"source": "/tag/:tag*/",
"destination": "/tags/:tag*",
"type": 301
},
{
"source": "/feed/",
"destination": "/index.xml",
"type": 301
}
],
"headers": [{
"source":"**",
"headers": [
{"key":"Content-Security-Policy","value":"default-src 'none';img-src 'self' https: data:; connect-src https://www.google-analytics.com www.google-analytics.com ;frame-src https://disqus.com/; font-src 'self' data: fonts.gstatic.com;script-src https: http: https://www.google-analytics.com 'unsafe-inline' 'self';style-src https: 'unsafe-inline';object-src 'none';frame-ancestors 'none';base-uri 'none';form-action 'self';"},
{"key": "X-Content-Type-Options", "value": "nosniff"},
{"key": "X-Frame-Options", "value": "ALLOW-FROM https://get.google.com"},
{"key": "X-UA-Compatible", "value": "ie=edge"},
{"key": "X-XSS-Protection", "value": "1; mode=block"}
]
}]
}
}