56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"framework": "nextjs",
|
|
"buildCommand": "cd ../.. && npm run build --workspace=@bmad/web",
|
|
"installCommand": "cd ../.. && npm ci",
|
|
"outputDirectory": ".next",
|
|
"regions": ["gru1"],
|
|
"headers": [
|
|
{
|
|
"source": "/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "DENY"
|
|
},
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "1; mode=block"
|
|
},
|
|
{
|
|
"key": "Referrer-Policy",
|
|
"value": "strict-origin-when-cross-origin"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/api/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-store, max-age=0"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/_next/static/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=31536000, immutable"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"source": "/api/:path*",
|
|
"destination": "${NEXT_PUBLIC_API_URL}/api/:path*"
|
|
}
|
|
]
|
|
}
|