{
“version”: 2,
“functions”: {
“api/**/.js": {
“runtime”: “vercel/node@22.x”
}
},
“headers”: [
{
“source”: "/raw/(.)”,
“headers”: [
{ “key”: “Content-Type”, “value”: “text/plain; charset=utf-8” },
{ “key”: “Content-Disposition”, “value”: “inline” }
]
}
],
“rewrites”: [
{ “source”: “/raw/(.*)”, “destination”: “/raw/$1” },
{ “source”: “/scripts”, “destination”: “/scripts.html” },
{ “source”: “/executors”, “destination”: “/executors.html” },
{ “source”: “/soon”, “destination”: “/soon.html” },
]
}
i can’t fix it with vercel.json, can someone help me with it? the error is Function Runtimes must have a valid version, for example now-php@1.0.0