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

@@ -1,5 +1,11 @@
{
"version": 2,
"buildCommand": "npm ci --prefix webui && npm run build --prefix webui",
"functions": {
"api/index.go": {
"includeFiles": "static/admin/**"
}
},
"rewrites": [
{
"source": "/(.*)",