mirror of
https://github.com/chrisnov-it/quantumbotx.git
synced 2026-07-28 19:27:44 +00:00
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:
+11
-4
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user