fix: rubah vercel.json dan tambah runtime

This commit is contained in:
muhamad fais aizat 2025-05-15 20:59:31 +07:00
parent 1dd762ba3c
commit c222661c5a
2 changed files with 8 additions and 5 deletions

1
backend/api/runtime.txt Normal file
View File

@ -0,0 +1 @@
python-3.10.6

View File

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