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",
"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"
}
}
]
}