1
0
Fork 0

🐛 Fix a bug.

This commit is contained in:
李寻欢 2023-12-10 09:29:17 +08:00
parent 3fbaf7aeb6
commit 7e545cef95
1 changed files with 1 additions and 1 deletions

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 {