Skip to content

Commit cbfe755

Browse files
committed
Add vercel.json
1 parent 0d2d902 commit cbfe755

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

vercel.json

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"buildCommand": "npm run docs:build",
3+
"installCommand": "npm ci",
4+
"outputDirectory": "docs",
5+
"github": {
6+
"silent": true
7+
},
8+
"cleanUrls": true,
9+
"headers": [
10+
{
11+
"source": "/(.*)",
12+
"headers": [
13+
{
14+
"key": "Content-Security-Policy",
15+
"value": "default-src 'self'; script-src 'self' 'unsafe-inline'; connect-src 'self' data:; img-src 'self' https://img.shields.io https://github.com; style-src 'self' 'unsafe-inline'"
16+
},
17+
{
18+
"key": "X-DNS-Prefetch-Control",
19+
"value": "on"
20+
},
21+
{
22+
"key": "Referrer-Policy",
23+
"value": "same-origin"
24+
},
25+
{
26+
"key": "Strict-Transport-Security",
27+
"value": "max-age=63072000; includeSubdomains; preload"
28+
},
29+
{
30+
"key": "X-Content-Type-Options",
31+
"value": "nosniff"
32+
},
33+
{
34+
"key": "X-Frame-Options",
35+
"value": "SAMEORIGIN"
36+
},
37+
{
38+
"key": "X-XSS-Protection",
39+
"value": "1; mode=block"
40+
},
41+
{
42+
"key": "Permissions-Policy",
43+
"value": "geolocation=(), camera=(), microphone=(), payment=()"
44+
}
45+
]
46+
}
47+
]
48+
}

0 commit comments

Comments
 (0)