From 8139673a7fdac056a0b39595f668136bbf87eec3 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Sat, 25 Feb 2023 08:28:43 +0100 Subject: [PATCH] Always print Listen to URL --- cmd/cc-backend/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/cc-backend/main.go b/cmd/cc-backend/main.go index 6af39b2..1a8aa4c 100644 --- a/cmd/cc-backend/main.go +++ b/cmd/cc-backend/main.go @@ -375,9 +375,9 @@ func main() { MinVersion: tls.VersionTLS12, PreferServerCipherSuites: true, }) - log.Printf("HTTPS server listening at %s...", config.Keys.Addr) + fmt.Printf("HTTPS server listening at %s...", config.Keys.Addr) } else { - log.Printf("HTTP server listening at %s...", config.Keys.Addr) + fmt.Printf("HTTP server listening at %s...", config.Keys.Addr) } // Because this program will want to bind to a privileged port (like 80), the listener must