diff --git a/vercel.json b/vercel.json index 0c63239..420d602 100644 --- a/vercel.json +++ b/vercel.json @@ -1,9 +1,24 @@ { - "version": 2, - "builds": [ + "rewrites": [ { - "src": "package.json", - "use": "@vercel/next" + "source": "/old-path", + "destination": "/new-path" } - ] + ], + "headers": [ + { + "source": "/(.*)", + "headers": [ + { + "key": "X-Custom-Header", + "value": "My Value" + } + ] + } + ], + "functions": { + "api/**/*.ts": { + "runtime": "nodejs20.x" + } + } }