48 lines
891 B
JSON
48 lines
891 B
JSON
{
|
|
"buildCommand": "npm run build",
|
|
"devCommand": "npm run dev",
|
|
"installCommand": "npm ci",
|
|
"framework": "nextjs",
|
|
"regions": ["cdg1"],
|
|
"env": {
|
|
"NEXT_TELEMETRY_DISABLED": "1"
|
|
},
|
|
"functions": {
|
|
"app/**/*.ts": {
|
|
"maxDuration": 30
|
|
},
|
|
"app/**/*.tsx": {
|
|
"maxDuration": 30
|
|
}
|
|
},
|
|
"headers": [
|
|
{
|
|
"source": "/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "SAMEORIGIN"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "1; mode=block"
|
|
},
|
|
{
|
|
"key": "Referrer-Policy",
|
|
"value": "strict-origin-when-cross-origin"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"source": "/api/:path*",
|
|
"destination": "/api/:path*"
|
|
}
|
|
]
|
|
}
|