refactor: update web UI asset serving and embedding mechanism.

This commit is contained in:
CJACK
2026-02-16 19:58:33 +08:00
parent 190881f13a
commit 888a0e6bff
17 changed files with 150 additions and 749 deletions

View File

@@ -54,6 +54,10 @@ DS2API_ADMIN_KEY=admin
# Built admin static assets directory
# DS2API_STATIC_ADMIN_DIR=static/admin
# Auto-build WebUI on startup when static/admin is missing.
# Default: enabled on local/Docker, disabled on Vercel.
# DS2API_AUTO_BUILD_WEBUI=true
# ---------------------------------------------------------------
# Vercel sync integration (optional)
# ---------------------------------------------------------------