fix: test vercel

This commit is contained in:
muhamad fais aizat 2025-05-15 22:02:13 +07:00
parent 684bd449f5
commit 52b2746454
1 changed files with 7 additions and 13 deletions

View File

@ -2,23 +2,17 @@
"version": 2, "version": 2,
"builds": [ "builds": [
{ {
"src": "index.py", "src": "api/index.py",
"use": "@vercel/python", "use": "@vercel/python",
"config": { "config": { "runtime": "python3.10" }
"runtime": "python3.10",
"pythonVersion": "3.10"
}
} }
], ],
"routes": [ "routes": [
{ {
"src": "/(.*)", "src": "/(.*)",
"dest": "index.py" "dest": "api/index.py"
} }
], ]
"functions": { }
"**/*.py": {
"runtime": "python3.10"
}
}
}