remove vercel legacy config

This commit is contained in:
Samandar Turgunboyev
2026-03-02 18:27:42 +05:00
parent 86f49f6d82
commit 729544cb7e

View File

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