🐛 Fix a bug.
All checks were successful
BuildImage / build-image (push) Successful in 1m12s

This commit is contained in:
李寻欢 2023-12-10 09:29:17 +08:00
parent 3fbaf7aeb6
commit 7e545cef95

View File

@ -35,7 +35,7 @@ func SetCallback(userHost string) {
}
port := 19099
if userHost != "" {
if userHost != "" && userHost != "auto" {
uh := strings.Split(strings.TrimSpace(userHost), ":")
host = uh[0]
if len(uh) == 2 {