From bf749dc0540281f9b6c34407cfb1107af83c9bc0 Mon Sep 17 00:00:00 2001 From: muhamad fais aizat Date: Thu, 15 May 2025 20:43:08 +0700 Subject: [PATCH] fix: rubah vercel.json --- backend/vercel.json | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/backend/vercel.json b/backend/vercel.json index 7d5d3a10..d89ce5bd 100644 --- a/backend/vercel.json +++ b/backend/vercel.json @@ -1,14 +1,13 @@ { - "builds":[ - { - "src": "api/main.py", - "use": "@vercel/python" - } - ], - "routes": [ - { - "src": "/(.*)", - "dest": "api/main.py" - } - ] -} \ No newline at end of file + "functions": { + "api/main.py": { + "runtime": "python3.11" + } + }, + "routes": [ + { + "src": "/(.*)", + "dest": "api/main.py" + } + ] +}