diff --git a/vercel.json b/vercel.json index 19e5c67..0ea7356 100644 --- a/vercel.json +++ b/vercel.json @@ -1,15 +1,13 @@ { - "version": 2, - "builds": [ - { - "src": "public/index.php", - "use": "@vercel/php" + "functions": { + "api/index.php": { + "runtime": "vercel-php@0.7.3" } - ], + }, "routes": [ { "src": "/(.*)", - "dest": "/public/index.php" + "dest": "/api/index.php" } ] } \ No newline at end of file