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": [ |
"rewrites": [{ "source": "/(.*)", "destination": "/api" }], |
||||
{ |
"functions": { |
||||
"src": "index.js", |
"api/index.js": { |
||||
"use": "@vercel/node" |
"includeFiles": "views/*" |
||||
} |
} |
||||
], |
} |
||||
"routes": [ |
} |
||||
{ |
|
||||
"src": "/(.*)", |
|
||||
"dest": "index.js" |
|
||||
} |
|
||||
] |
|
||||
} |
|
Loading…
Reference in new issue