Merge pull request #76 from maheshrijal/main

feat: support vercel deploments
This commit is contained in:
Lene Saile 2025-01-14 14:24:42 +01:00 committed by GitHub
commit 3c86cd974f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

35
vercel.json Normal file
View file

@ -0,0 +1,35 @@
{
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"value": "upgrade-insecure-requests;"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Permissions-Policy",
"value": "autoplay=(), camera=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), publickey-credentials-get=()"
}
]
}
],
"buildCommand": "npm run build",
"outputDirectory": "dist"
}