Skip to content

Commit

Permalink
replay: remove hardcoded listen addr (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunKoyalwar authored Dec 22, 2022
1 parent 6993654 commit 69bf87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/replay/replay.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func main() {
io.Copy(w, response.Body) //nolint
})
go func() {
if err := http.ListenAndServe(":80", nil); err != nil {
if err := http.ListenAndServe(options.HTTPListenerAddress, nil); err != nil {
gologger.Fatal().Msgf("Could not listen and serve: %s\n", err)
}
}()
Expand Down

0 comments on commit 69bf87f

Please sign in to comment.