Skip to content

Commit

Permalink
Remove default value of binding to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
dewey committed Dec 17, 2021
1 parent 1fbff33 commit 4441bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func main() {

fs := flag.NewFlagSet("prometheus-browserless-exporter", flag.ExitOnError)
var (
listenAddr = fs.String("listen-addr", "localhost:3001", "listen address")
listenAddr = fs.String("listen-addr", ":3001", "listen address")
timeoutSeconds = fs.Int("timeout", 5, "timeout in seconds")
debug = fs.Bool("debug", false, "log debug information")
browserlessEndpoint = fs.String("browserless-endpoint", "http://localhost:3000/metrics/total", "browserless metrics endpoint")
Expand Down

0 comments on commit 4441bf6

Please sign in to comment.