Files
jaryo/vercel.json

31 lines
492 B
JSON
Raw Normal View History

{
"version": 2,
"builds": [
{
"src": "api/simple.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/api/(.*)",
"dest": "/api/simple.js"
},
{
"src": "/health",
"dest": "/api/simple.js"
},
{
"src": "/(.*\\.(html|css|js|json|svg|png|jpg|jpeg|gif|ico|woff|woff2|ttf|eot))",
"dest": "/$1"
},
{
"src": "/(.*)",
"dest": "/index.html"
}
],
"env": {
"NODE_ENV": "production"
}
}