🐛 修复webui下载分支 (#2099)

This commit is contained in:
HibiKier
2026-02-09 15:56:44 +08:00
committed by GitHub
parent 5e30694663
commit d1c24436ce
6 changed files with 51 additions and 34 deletions
@@ -21,7 +21,7 @@ async def favicon():
async def init_public(app: FastAPI):
try:
if not ZhenxunRepoManager.check_webui_exists():
await ZhenxunRepoManager.webui_update(branch="test")
await ZhenxunRepoManager.webui_update(branch="dist")
folders = [
x.name for x in ZhenxunRepoManager.config.WEBUI_PATH.iterdir() if x.is_dir()
]