fix(hub): default HUB_ALLOW_PUBLIC on to avoid cloud 403 forbidden

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-11 15:31:59 +08:00
parent 860ebef4a7
commit e26a67176c
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -146,7 +146,7 @@
return;
}
if (r.status === 403) {
showErr("访问被拒绝(403):云端 hub 需设置 HUB_ALLOW_PUBLIC=true");
showErr("访问被拒绝(403):请确认 HUB_ALLOW_PUBLIC 未设为 false,并检查反代/登录配置");
} else {
showErr(j.detail || j.msg || "用户名或密码错误 (" + r.status + ")");
}