mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-05 03:39:59 +08:00
🐛 修复webui下载分支 (#2099)
This commit is contained in:
@@ -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()
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user