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