统一开发端口说明与运行探活
Security Checks / security (push) Waiting to run

This commit is contained in:
xuans committed 2026-09-07 16:16:33 +08:00
1 parent 362cf0d4cc
commit 8ee5f6083a
4 files changed
+9 -12

No files matched your search

+1 -4
View File
@@ -78,10 +78,7 @@ func sslUpdateLoop() {
// 新增:HTTP 就绪探测(最多等待 ~90 秒)
func waitHTTPReady() bool {
port := 80
if cfg := config.CurrentConfig(); cfg != nil && cfg.HttpPort > 0 {
port = cfg.HttpPort
}
port := config.CurrentHTTPConfig().Port
if port < 1 || port > 65535 {
log.Warnf("invalid HTTP port %d, skipping SSL update this round", port)
return false