From 6310fb8341f8e12038487b58e6f97a74184b1e71 Mon Sep 17 00:00:00 2001 From: Reynov Christian Date: Thu, 16 Oct 2025 01:51:50 +0800 Subject: [PATCH] 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. --- vercel.json | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/vercel.json b/vercel.json index b9b875e..8490f6b 100644 --- a/vercel.json +++ b/vercel.json @@ -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" + } }