From 615841cd82ebe56b998e1f141ae8865322debf42 Mon Sep 17 00:00:00 2001 From: Ethan Gallant Date: Tue, 7 Mar 2023 19:15:38 -0400 Subject: [PATCH] Remove default port Signed-off-by: Ethan Gallant --- web/tls_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/tls_config.go b/web/tls_config.go index b46f5c29..29509950 100644 --- a/web/tls_config.go +++ b/web/tls_config.go @@ -216,7 +216,7 @@ func ListenAndServe(server *http.Server, flags *FlagConfig, logger log.Logger) e } if flags.WebListenAddresses == nil { - *flags.WebListenAddresses = []string{":9090"} + return errors.New("no valid WebListenAddress specified") } listeners := make([]net.Listener, 0, len(*flags.WebListenAddresses))