Skip to content

Commit

Permalink
Refactor vercel.json to specify Python runtime version
Browse files Browse the repository at this point in the history
  • Loading branch information
ezeisraeljohn committed Sep 19, 2024
1 parent 5575ea6 commit 52d3ac3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"version": 2,
"builds": [{ "src": "main.py", "use": "@vercel/python" }],
"routes": [{ "src": "/(.*)", "dest": "main.py" }]
"routes": [{ "src": "/(.*)", "dest": "main.py" }],
"functions": {
"main.py": {
"runtime": "python3.9"
}
}
}

0 comments on commit 52d3ac3

Please sign in to comment.