generated from VLADIMIR/template
fix
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user