From 87f25fc35b3e9051117dddfd11bbae5fbc986581 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Wed, 12 Jul 2023 16:00:34 +0200 Subject: [PATCH] fix: default port --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.go b/app.go index 030e478..49ce421 100644 --- a/app.go +++ b/app.go @@ -50,7 +50,7 @@ func init() { flag.StringVar(&cert, "cert", "", "give me a certificate") flag.StringVar(&key, "key", "", "give me a key") flag.StringVar(&ca, "cacert", "", "give me a CA chain, enforces mutual TLS") - flag.StringVar(&port, "port", getEnv("WHOAMI_PORT_NUMBER", "8080"), "give me a port number") + flag.StringVar(&port, "port", getEnv("WHOAMI_PORT_NUMBER", "80"), "give me a port number") flag.StringVar(&name, "name", os.Getenv("WHOAMI_NAME"), "give me a name") }