fix: change the default ip address to 0.0.0.0
This commit is contained in:
parent
ff95406049
commit
28b8bc6c52
@ -180,9 +180,8 @@ user created with the credentials from options "username" and "password".`,
|
||||
checkErr(err)
|
||||
|
||||
defer listener.Close()
|
||||
|
||||
if strings.Contains(adr, "0.0.0.0") {
|
||||
log.Println("Listening on 127.0.0.1:" + server.Port)
|
||||
log.Println("Listening on 0.0.0.0:" + server.Port +". You can access the FileBrowser at 127.0.0.1:" + server.Port)
|
||||
} else {
|
||||
log.Println("Listening on", listener.Addr().String())
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user