Add files via upload

This commit is contained in:
公明
2026-05-15 14:09:37 +08:00
committed by GitHub
parent 87d0ff9154
commit f37d613a0c
+3
View File
@@ -58,6 +58,9 @@ func main() {
if scheme == "https" && cfg.Server.TLSAutoSelfSign {
fmt.Println(" (内存自签证书:浏览器首次需确认「继续访问」)")
}
if scheme == "https" && config.ServerHTTPRedirectEnabled(&cfg.Server) {
fmt.Printf(" http://127.0.0.1:%d/ 将自动跳转到 HTTPS\n", port)
}
fmt.Println()
// MCP 启用且 auth_header_value 为空时,自动生成随机密钥并写回配置