feat: print clickable URL on startup in dev mode
Alan Pearce alan@alanpearce.eu
Wed, 15 May 2024 18:46:42 +0200
1 files changed, 4 insertions(+), 0 deletions(-)
jump to
M searchix.go → searchix.go
@@ -119,6 +119,10 @@ defer wg.Done() sErr <- sv.Start() }() + if conf.Web.Environment == "development" { + log.Printf("server listening on %s", conf.Web.BaseURL.String()) + } + err = <-sErr if err != nil { // Error starting or closing listener: