feat: Integrate and serve the WebUI, including Vercel build configuration and Python routes for static files.

This commit is contained in:
CJACK
2026-02-01 16:43:52 +08:00
parent 9956770cb0
commit b17e492ab8
6 changed files with 105 additions and 9 deletions

View File

@@ -101,3 +101,6 @@ WASM_PATH = resolve_path("DS2API_WASM_PATH", "sha3_wasm_bg.7b9ca65ddd.wasm")
# 模板目录
TEMPLATES_DIR = resolve_path("DS2API_TEMPLATES_DIR", "templates")
# WebUI 静态文件目录
STATIC_ADMIN_DIR = resolve_path("DS2API_STATIC_ADMIN_DIR", "static/admin")