chore: prepare vercel deployment
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
from backend.app import app
|
||||
|
||||
app = app
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"version": 2,
|
||||
"builds": [
|
||||
{
|
||||
"src": "api/index.py",
|
||||
"use": "@vercel/python"
|
||||
},
|
||||
{
|
||||
"src": "package.json",
|
||||
"use": "@vercel/static-build"
|
||||
}
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"src": "/api/(.*)",
|
||||
"dest": "/api/index.py"
|
||||
},
|
||||
{
|
||||
"handle": "filesystem"
|
||||
},
|
||||
{
|
||||
"src": "/(.*)",
|
||||
"dest": "/index.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user