app: log message about startup bind address
This commit is contained in:
parent
dbb915a226
commit
dccab8a15b
1
main.go
1
main.go
@ -397,5 +397,6 @@ func main() {
|
|||||||
app.apiSem = semaphore.NewWeighted(app.cfg.Gitea.MaxConnections)
|
app.apiSem = semaphore.NewWeighted(app.cfg.Gitea.MaxConnections)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Printf("Starting web server on [%s]...", app.cfg.BindTo)
|
||||||
log.Fatal(http.ListenAndServe(app.cfg.BindTo, &app))
|
log.Fatal(http.ListenAndServe(app.cfg.BindTo, &app))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user