保存统一Web域名恢复入口接手基线

This commit is contained in:
xuans committed 2026-09-16 19:17:55 +08:00
1 parent ec0c53365a
commit e41fa43412
18 files changed
+129 -90

No files matched your search

+2 -2
View File
@@ -133,8 +133,8 @@ func CurrentWebDomain() string {
return cfg.WebDomain
}
// CurrentAdminRecoveryDomain 返回超级管理员本机恢复通道的部署标识域名。
// 此值不用于提供公网重置路由;未配置时沿用主邮件域名。
// CurrentAdminRecoveryDomain 仅用于读取旧配置。
// 公网一次性恢复入口统一使用 CurrentWebDomain,不再使用独立恢复域名。
func CurrentAdminRecoveryDomain() string {
if manager := CurrentManager(); manager != nil {
runtime := manager.Snapshot()