-
Notifications
You must be signed in to change notification settings - Fork 199
Expand file tree
/
Copy pathvercel.json
More file actions
32 lines (32 loc) · 1009 Bytes
/
Copy pathvercel.json
File metadata and controls
32 lines (32 loc) · 1009 Bytes
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
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "./publish.sh",
"outputDirectory": "dist",
"cleanUrls": true,
"redirects": [
{
"source": "/community",
"destination": "/news",
"permanent": false
}
],
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; script-src 'self' 'unsafe-inline' 'wasm-unsafe-eval'; worker-src 'self' blob:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: blob: https:; media-src 'self' blob:; connect-src 'self' blob: data: https: http: ws: wss:; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"
}
]
}
]
}