mirror of
https://github.com/prymitive/karma
synced 2026-05-21 04:33:07 +00:00
Fix listen address and port passing
Only HOST & PORT env variables used by gin internally were really used, pass resulting config to gin so we match documentation, and log it on startup
This commit is contained in:
@@ -62,7 +62,7 @@ func init() {
|
||||
pflag.StringSlice("receivers.strip", []string{},
|
||||
"List of receivers to not display alerts for")
|
||||
|
||||
pflag.String("listen.address", "*", "IP/Hostname to listen on")
|
||||
pflag.String("listen.address", "", "IP/Hostname to listen on")
|
||||
pflag.Int("listen.port", 8080, "HTTP port to listen on")
|
||||
pflag.String("listen.prefix", "/", "URL prefix")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user