Skip to content

Commit

Permalink
Remove default port
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Gallant <ethan.gallant@gmail.com>
  • Loading branch information
ethan-gallant committed Mar 7, 2023
1 parent 114ce37 commit 615841c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/tls_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 615841c

Please sign in to comment.