-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathheaders.json
50 lines (50 loc) · 1.46 KB
/
headers.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
[
{
"headers": [
{
"key": "cache-control",
"value": "max-age=600, s-maxage=60"
},
{
"key": "content-security-policy",
"value": "connect-src 'self' https://fonts.googleapis.com https://fonts.gstatic.com https://polyfill.io; default-src 'none'; font-src https://fonts.gstatic.com; frame-src 'self'; img-src 'self' data:; manifest-src 'self'; sandbox allow-popups allow-same-origin allow-scripts; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://storage.googleapis.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; worker-src 'self'"
},
{
"key": "referrer-policy",
"value": "same-origin, strict-origin-when-cross-origin"
}
],
"source": "/((?!_next/).*)"
},
{
"headers": [
{
"key": "content-security-policy",
"value": "default-src 'none'; font-src https://fonts.gstatic.com; img-src 'self' data:; script-src 'unsafe-inline' https://polyfill.io; style-src 'unsafe-inline' blob: https://fonts.googleapis.com"
},
{
"key": "referrer-policy",
"value": "no-referrer"
}
],
"source": "/preview/(.*)"
},
{
"headers": [
{
"key": "cache-control",
"value": "max-age=0"
}
],
"source": "/service-worker.js"
},
{
"headers": [
{
"key": "content-type",
"value": "application/manifest+json"
}
],
"source": "/manifest.json"
}
]