fixed host=="" to "0.0.0.0" from "127.0.0.1"

pull/1210/head
gregchalmers 2021-03-08 22:51:19 -08:00
parent cc262daae3
commit 25c5e4c264
1 changed files with 1 additions and 1 deletions

2
app.go
View File

@ -876,7 +876,7 @@ func (app *App) startupMessage(addr string, tls bool, pids string) {
host, port := parseAddr(addr)
if host == "" {
host = "127.0.0.1"
host = "0.0.0.0"
}
scheme := "http"