fix:memperbaiki vercel

This commit is contained in:
muhamad fais aizat 2025-05-16 13:51:13 +07:00
parent e76f4869fd
commit b78ecccd4b
2 changed files with 15 additions and 13 deletions

1
backend/runtime.txt Normal file
View File

@ -0,0 +1 @@
python-3.9

View File

@ -1,16 +1,17 @@
{ {
"version": 2, "version": 2,
"builds": [ "builds": [
{ {
"src": "index.py", "src": "index.py",
"use": "@vercel/python" "use": "@vercel/python",
} "config": { "runtime": "python3.9" }
], }
"routes": [ ],
{ "routes": [
"src": "/(.*)", {
"dest": "index.py" "src": "/(.*)",
} "dest": "index.py"
] }
]
} }