Log URL on startup

This commit is contained in:
Martin Polden 2017-11-29 19:24:18 +01:00
parent 20f3685d06
commit e3aeb87d4e

View File

@ -64,7 +64,7 @@ func main() {
api.Template = opts.Template
api.IPHeader = opts.IPHeader
log.Printf("Listening on %s", opts.Listen)
log.Printf("Listening on http://%s", opts.Listen)
if err := http.ListenAndServe(opts.Listen, api.Router()); err != nil {
log.Fatal(err)
}