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": {
"api/index.py": {
"runtime": "python3.11"
}
},
"routes": [
{
"src": "/(.*)",
"dest": "/api/index.py"
}
]
"builds":[
{
"src": "api/main.py",
"use": "@vercel/python"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "api/main.py"
}
]
}