From 86f49f6d821a1691a3d574cc3b0d390ebfd6d88b Mon Sep 17 00:00:00 2001 From: Samandar Turgunboyev Date: Mon, 2 Mar 2026 18:24:45 +0500 Subject: [PATCH] remove vercel legacy config --- vercel.json | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) 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" + } + } }