diff --git a/vercel.json b/vercel.json index 420d602..f2d82e3 100644 --- a/vercel.json +++ b/vercel.json @@ -1,24 +1,21 @@ { - "rewrites": [ + "version": 2, + "framework": { + "name": "nextjs", + "config": {} + }, + "routes": [ { - "source": "/old-path", - "destination": "/new-path" - } - ], - "headers": [ + "src": "/_next/(.*)", + "dest": "/_next/$1" + }, { - "source": "/(.*)", - "headers": [ - { - "key": "X-Custom-Header", - "value": "My Value" - } - ] + "src": "/favicon.ico", + "dest": "/favicon.ico" + }, + { + "src": "/(.*)", + "dest": "/$1" } - ], - "functions": { - "api/**/*.ts": { - "runtime": "nodejs20.x" - } - } + ] }