Remove committed WebUI build artifacts

This commit is contained in:
CJACK.
2026-02-04 18:05:57 +08:00
parent 840042d301
commit 8ca5581171
11 changed files with 44 additions and 620 deletions

View File

@@ -6,10 +6,31 @@
"use": "@vercel/python"
}
],
"routes": [
"buildCommand": "bash scripts/build-webui.sh",
"rewrites": [
{
"src": "/(.*)",
"dest": "app.py"
"source": "/(.*)",
"destination": "/app.py"
}
],
"headers": [
{
"source": "/admin/assets/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/admin/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "no-store, must-revalidate"
}
]
}
]
}
}