forked from shangzhenyang/marquee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvercel.json
50 lines (50 loc) · 1.19 KB
/
vercel.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": [
{
"source": "/sw.js",
"headers": [
{
"key": "Cache-Control",
"value": "no-store"
}
]
},
{
"source": "/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'none'; base-uri 'none'; connect-src 'self' https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com; form-action 'none'; frame-ancestors 'none'; img-src data: https://www.shangzhenyang.com https://*.google-analytics.com https://*.googletagmanager.com; manifest-src 'self'; script-src 'self' https://www.googletagmanager.com; style-src 'self' 'unsafe-inline'"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=31536000"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
}
]
},
{
"source": "/assets/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
],
"redirects": [
{
"source": "/favicon.ico",
"destination": "https://www.shangzhenyang.com/images/avatar.png",
"permanent": true
}
]
}