remove vercel legacy config
This commit is contained in:
31
vercel.json
31
vercel.json
@@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user