Created
July 1, 2024 15:13
-
-
Save tejas-kr/6b6e7f2bfb45e0d15711578dac20e5af to your computer and use it in GitHub Desktop.
Vercel.json file for deploying FastAPI app to vercel. (Change the builds[0].src and routes[0].dest)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 2, | |
"builds": [ | |
{ | |
"src": "main.py", | |
"use": "@vercel/python" | |
} | |
], | |
"routes": [ | |
{ | |
"src": "/(.*)", | |
"dest": "main.py" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment