diff options
Diffstat (limited to 'serve/main.go')
-rw-r--r-- | serve/main.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/serve/main.go b/serve/main.go index 5c68cc5..9ba2113 100644 --- a/serve/main.go +++ b/serve/main.go @@ -4,7 +4,6 @@ import ( "fmt" "log" "log/slog" - "net/url" "os" "os/signal" "sync" @@ -15,11 +14,6 @@ import ( "github.com/pkg/errors" ) -var ( - CommitSHA string - ShortSHA string -) - func main() { runtimeConfig := server.Config{} help, err := conf.Parse("", &runtimeConfig) @@ -56,10 +50,6 @@ func main() { defer wg.Done() sErr <- sv.Start() }() - if !runtimeConfig.InDevServer { - url, _ := url.Parse("http://" + sv.Addr) - log.Printf("server listening on %s", url.String()) - } err = <-sErr if err != nil { |