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