From b6e03fd1762efb5afcd110930ace47217de6d474 Mon Sep 17 00:00:00 2001 From: muhamad fais aizat Date: Thu, 15 May 2025 21:20:24 +0700 Subject: [PATCH] fix: rubah vercel.json --- backend/vercel.json | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/backend/vercel.json b/backend/vercel.json index 737f69bf..b57575d7 100644 --- a/backend/vercel.json +++ b/backend/vercel.json @@ -1,16 +1,17 @@ { - "builds": [ - { - "src": "api/main.py", - "use": "@vercel/python" - } - ], - "routes": [ - { - "src": "/(.*)", - "dest": "/api/main.py" - } - ] + "version": 2, + "builds": [ + { + "src": "./api/main.py", + "use": "@vercel/python" + } + ], + "routes": [ + { + "src": "/(.*)", + "dest": "./api/main.py" + } + ] }