diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,8 +27,8 @@ func main() { env := environment.New() app := handlers.MiddlewareChain(env).Then(router.ShoelacesRouter(env)) - env.Logger.Info("component", "main", "transport", "http", "addr", env.BaseURL, "msg", "listening") - env.Logger.Error("component", "main", "err", http.ListenAndServe(env.BaseURL, app)) + env.Logger.Info("component", "main", "transport", "http", "addr", env.BindAddr, "msg", "listening") + env.Logger.Error("component", "main", "err", http.ListenAndServe(env.BindAddr, app)) os.Exit(1) } |