chore: prepare vercel deployment

This commit is contained in:
Aryanta Putra
2026-06-13 14:02:36 +07:00
parent 6a986072c6
commit a2f683960b
2 changed files with 29 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
from backend.app import app
app = app
+26
View File
@@ -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"
}
]
}