chore: update vercel configuration to use FastAPI framework
This commit is contained in:
1 parent
b47d847e88
commit
2b03240efb
1 file changed
+7
-16
+7
-16
@@ -1,21 +1,12 @@
|
||||
{
|
||||
"$schema": "https://openapi.vercel.sh/vercel.json",
|
||||
"version": 2,
|
||||
"builds": [
|
||||
{
|
||||
"src": "main.py",
|
||||
"use": "@vercel/python"
|
||||
}
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"src": "/(.*)",
|
||||
"dest": "main.py"
|
||||
}
|
||||
],
|
||||
"functions": {
|
||||
"main.py": {
|
||||
"excludeFiles": "{tests/**,docs/**,data/**,logs/**,__pycache__/**,**/*.pyc,**/*.pyo}"
|
||||
}
|
||||
"framework": "fastapi",
|
||||
"env": {
|
||||
"LOG_LEVEL": "INFO",
|
||||
"LOG_FILE_ENABLED": "false",
|
||||
"DATA_DIR": "/tmp/data",
|
||||
"SERVER_STORAGE_TYPE": "local",
|
||||
"SERVER_STORAGE_URL": ""
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user