This commit is contained in:
2026-03-02 01:46:33 +07:00
parent 3b9c77b422
commit 4280d5376a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -25,9 +25,9 @@ func GetHost() string {
}
ips, err := getLocalIPs()
if err != nil || len(ips) == 0 {
return "127.0.0.1" + ClientPort
return "http://127.0.0.1" + ClientPort
}
return ips[0] + ClientPort
return "http://" + ips[0] + ClientPort
}
func getFilepath(env string, defaultFilepath string) string {