fix: test vercel

This commit is contained in:
muhamad fais aizat 2025-05-15 21:59:57 +07:00
parent aa4b963f32
commit 684bd449f5
2 changed files with 12 additions and 5 deletions

1
backend/runtime.txt Normal file
View File

@ -0,0 +1 @@
python-3.10

View File

@ -4,7 +4,10 @@
{ {
"src": "index.py", "src": "index.py",
"use": "@vercel/python", "use": "@vercel/python",
"config": { "runtime": "python3.10" } "config": {
"runtime": "python3.10",
"pythonVersion": "3.10"
}
} }
], ],
"routes": [ "routes": [
@ -12,7 +15,10 @@
"src": "/(.*)", "src": "/(.*)",
"dest": "index.py" "dest": "index.py"
} }
] ],
} "functions": {
"**/*.py": {
"runtime": "python3.10"
}
}
}