forked from sunshineLixun/astro-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvercel.json
53 lines (52 loc) · 1.59 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
51
52
53
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "https://aweblog.app"
},
{
"key": "Cache-Control",
"value": "public, max-age=3600, must-revalidate"
},
{
"key": "Content-Security-Policy",
"value": "block-all-mixed-content; connect-src 'self' https://lb1.beamanalytics.io; default-src 'self'; font-src 'self' https://fonts.gstatic.com; frame-ancestors 'none'; frame-src 'self' https://www.arte.tv https://www.youtube-nocookie.com; img-src 'self' data: https://avatars.githubusercontent.com https://i.ytimg.com; script-src 'self' 'unsafe-inline' https://vercel.live; style-src 'self' 'unsafe-inline'"
},
{
"key": "Permisssion-Policy",
"value": "accelerometer=(), camera=(), encrypted-media=(), geolocation=(), gyroscope=(), interest-cohort=(), magnetometer=(), microphone=(), midi=(), payment=(), publickey-credentials-get=(), sync-xhr=(), usb=(), xr-spatial-tracking=()"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
}
]
}
],
"rewrites": [
{
"source": "/your-subdirectory/api/event",
"destination": "https://lb1.beamanalytics.io/api/log"
}
]
}