From 8c61854624ef9514b35117e200803e0d7db84489 Mon Sep 17 00:00:00 2001 From: DevMiner Date: Sun, 22 Sep 2024 03:42:58 +0200 Subject: [PATCH] chore: print address for webserver --- server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.go b/server.go index 3b63f88..9f22070 100644 --- a/server.go +++ b/server.go @@ -98,10 +98,10 @@ func server( wg := sync.WaitGroup{} wg.Add(2) - log.Debug().Msg("Starting server") - addr := fmt.Sprintf(":%d", config.C.Port) + log.Info().Str("addr", addr).Msg("Starting server") + go func() { <-ctx.Done()