diff --git a/.gitignore b/.gitignore index 722d5e7..850341b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .vscode +.vercel diff --git a/.vercelignore b/.vercelignore new file mode 100644 index 0000000..c291c09 --- /dev/null +++ b/.vercelignore @@ -0,0 +1 @@ +images diff --git a/index.php b/api/index.php similarity index 100% rename from index.php rename to api/index.php diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..40cd739 --- /dev/null +++ b/vercel.json @@ -0,0 +1,8 @@ +{ + "functions": { + "api/index.php": { + "runtime": "vercel-php@0.5.2" + } + }, + "routes": [{ "src": "/(.*)", "dest": "/api/index.php" }] +}