From 684bd449f5d982ce55499d26e84236e11e800a4f Mon Sep 17 00:00:00 2001 From: muhamad fais aizat Date: Thu, 15 May 2025 21:59:57 +0700 Subject: [PATCH] fix: test vercel --- backend/runtime.txt | 1 + backend/vercel.json | 16 +++++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 backend/runtime.txt diff --git a/backend/runtime.txt b/backend/runtime.txt new file mode 100644 index 00000000..f31904fc --- /dev/null +++ b/backend/runtime.txt @@ -0,0 +1 @@ +python-3.10 \ No newline at end of file diff --git a/backend/vercel.json b/backend/vercel.json index 92b9d473..8a8b829b 100644 --- a/backend/vercel.json +++ b/backend/vercel.json @@ -4,7 +4,10 @@ { "src": "index.py", "use": "@vercel/python", - "config": { "runtime": "python3.10" } + "config": { + "runtime": "python3.10", + "pythonVersion": "3.10" + } } ], "routes": [ @@ -12,7 +15,10 @@ "src": "/(.*)", "dest": "index.py" } - ] -} - - + ], + "functions": { + "**/*.py": { + "runtime": "python3.10" + } + } +} \ No newline at end of file