Skip to content

Commit

Permalink
Add vercel.json
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Oct 11, 2023
1 parent 0d2d902 commit cbfe755
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"buildCommand": "npm run docs:build",
"installCommand": "npm ci",
"outputDirectory": "docs",
"github": {
"silent": true
},
"cleanUrls": true,
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"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'"
},
{
"key": "X-DNS-Prefetch-Control",
"value": "on"
},
{
"key": "Referrer-Policy",
"value": "same-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"
},
{
"key": "Permissions-Policy",
"value": "geolocation=(), camera=(), microphone=(), payment=()"
}
]
}
]
}

0 comments on commit cbfe755

Please sign in to comment.