Add support for Vercel hosting (#74)

This commit is contained in:
Jonah Lawrence 2022-10-07 13:06:36 -06:00 committed by GitHub
parent 3a1a33d520
commit 6dccb264c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
.vscode
.vercel

1
.vercelignore Normal file
View File

@ -0,0 +1 @@
images

8
vercel.json Normal file
View File

@ -0,0 +1,8 @@
{
"functions": {
"api/index.php": {
"runtime": "vercel-php@0.5.2"
}
},
"routes": [{ "src": "/(.*)", "dest": "/api/index.php" }]
}