remove vercel legacy config
This commit is contained in:
23
vercel.json
23
vercel.json
@@ -1,9 +1,24 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"rewrites": [
|
||||||
"builds": [
|
|
||||||
{
|
{
|
||||||
"src": "package.json",
|
"source": "/old-path",
|
||||||
"use": "@vercel/next"
|
"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