Modify Vercel config to use app.py and Python 3.12

Updated the Vercel configuration to use app.py instead of index.py and set the Python runtime to 3.12.
This commit is contained in:
Reynov Christian
2025-10-16 01:51:50 +08:00
committed by GitHub
parent ddb2082a66
commit 346f81bd41
+11 -4
View File
@@ -1,14 +1,21 @@
{
"version": 2,
"builds": [
{
"src": "api/index.py",
"use": "@vercel/python"
"src": "api/app.py",
"use": "@vercel/python",
"config": {
"runtime": "python3.12"
}
}
],
"routes": [
{
"src": "/(.*)",
"dest": "api/index.py"
"dest": "api/app.py"
}
]
],
"env": {
"SKIP_MT5_INIT": "1"
}
}