chore: Update Vercel configuration to use installCommand for Python dependencies and remove static admin build.

This commit is contained in:
CJACK
2026-02-01 18:01:26 +08:00
parent 5209deef68
commit fe21523816

View File

@@ -1,14 +1,10 @@
{
"version": 2,
"buildCommand": "cd webui && npm install && npm run build",
"installCommand": "pip install -r requirements.txt && cd webui && npm install && npm run build",
"builds": [
{
"src": "app.py",
"use": "@vercel/python"
},
{
"src": "static/admin/**",
"use": "@vercel/static"
}
],
"routes": [