| { | |
| "version": 2, | |
| "framework": "nextjs", | |
| "buildCommand": "npm run build", | |
| "outputDirectory": ".next", | |
| "installCommand": "npm install", | |
| "devCommand": "npm run dev", | |
| "regions": ["iad1"], | |
| "functions": { | |
| "src/app/api/**/*.ts": { | |
| "maxDuration": 30 | |
| } | |
| }, | |
| "headers": [ | |
| { | |
| "source": "/(.*)", | |
| "headers": [ | |
| { | |
| "key": "X-Frame-Options", | |
| "value": "DENY" | |
| }, | |
| { | |
| "key": "X-Content-Type-Options", | |
| "value": "nosniff" | |
| }, | |
| { | |
| "key": "Referrer-Policy", | |
| "value": "strict-origin-when-cross-origin" | |
| } | |
| ] | |
| } | |
| ], | |
| "redirects": [ | |
| { | |
| "source": "/home", | |
| "destination": "/", | |
| "permanent": true | |
| } | |
| ], | |
| "rewrites": [ | |
| { | |
| "source": "/api/(.*)", | |
| "destination": "/api/$1" | |
| } | |
| ] | |
| } | |