Luke Childs
2 years ago
4 changed files with 9 additions and 13 deletions
@ -0,0 +1 @@ |
|||
require('../index.js') |
@ -1,14 +1,8 @@ |
|||
{ |
|||
"builds": [ |
|||
{ |
|||
"src": "index.js", |
|||
"use": "@vercel/node" |
|||
"rewrites": [{ "source": "/(.*)", "destination": "/api" }], |
|||
"functions": { |
|||
"api/index.js": { |
|||
"includeFiles": "views/*" |
|||
} |
|||
], |
|||
"routes": [ |
|||
{ |
|||
"src": "/(.*)", |
|||
"dest": "index.js" |
|||
} |
|||
] |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue