mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-08 10:25:28 +08:00
chore: Update Vercel configuration to use installCommand for Python dependencies and remove static admin build.
This commit is contained in:
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user