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