fix: change the default IP address to 0.0.0.0 root.go
This commit is contained in:
parent
28b8bc6c52
commit
6856fc5f1b
@ -181,7 +181,7 @@ user created with the credentials from options "username" and "password".`,
|
|||||||
|
|
||||||
defer listener.Close()
|
defer listener.Close()
|
||||||
if strings.Contains(adr, "0.0.0.0") {
|
if strings.Contains(adr, "0.0.0.0") {
|
||||||
log.Println("Listening on 0.0.0.0:" + server.Port +". You can access the FileBrowser at 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 {
|
} else {
|
||||||
log.Println("Listening on", listener.Addr().String())
|
log.Println("Listening on", listener.Addr().String())
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user