|
|
|
@ -105,6 +105,7 @@ func main() {
|
|
|
|
|
log.Fatalf("%+v", errors.Wrap(err, "could not mount http routes")) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
log.Printf("listening on '%s'", conf.HTTP.Address) |
|
|
|
|
if err := http.ListenAndServe(conf.HTTP.Address, r); err != nil { |
|
|
|
|
log.Fatalf("%+v", errors.Wrapf(err, "could not listen on '%s'", conf.HTTP.Address)) |
|
|
|
|
} |
|
|
|
|