111
This commit is contained in:
39
vercel.json
Normal file
39
vercel.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"buildCommand": "pnpm build",
|
||||
"outputDirectory": "dist",
|
||||
"installCommand": "pnpm install",
|
||||
"framework": "astro",
|
||||
"headers": [
|
||||
{
|
||||
"source": "/(.*)",
|
||||
"headers": [
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/_astro/(.*)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "public, max-age=31536000, immutable"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"cleanUrls": true
|
||||
}
|
||||
Reference in New Issue
Block a user