fix:merubah api jadi main dan rubah vercel.json

This commit is contained in:
muhamad fais aizat 2025-05-15 20:38:53 +07:00
parent dd2b3a4dbb
commit 4ffa8bfc4f
2 changed files with 12 additions and 11 deletions

View File

@ -1,13 +1,14 @@
{ {
"functions": { "builds":[
"api/index.py": { {
"runtime": "python3.11" "src": "api/main.py",
"use": "@vercel/python"
} }
}, ],
"routes": [ "routes": [
{ {
"src": "/(.*)", "src": "/(.*)",
"dest": "/api/index.py" "dest": "api/main.py"
} }
] ]
} }