add listening log

This commit is contained in:
1e99 2024-10-30 16:36:22 +01:00
parent 9daefc9d2d
commit 5f2d2a408a

View file

@ -56,6 +56,7 @@ func run() error {
address = ":3000" address = ":3000"
} }
log.Printf("Listening on %s", address)
err = http.ListenAndServe(address, middlewares.Logger(mux)) err = http.ListenAndServe(address, middlewares.Logger(mux))
if err != nil { if err != nil {
return err return err