feat: support vercel deploments

This commit is contained in:
Mahesh Rijal 2025-01-12 17:53:36 +05:30 committed by GitHub
parent 6774e1278f
commit 0d61f48bcf
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"
}