Skip to content

Commit 809cc41

Browse files
authored
listen on all available ports swarm +compatibility
1 parent 020c844 commit 809cc41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func main() {
4747
webhookUrl := os.Getenv("webhook")
4848
whURL := flag.String("webhook.url", webhookUrl, "")
4949
flag.Parse()
50-
http.ListenAndServe("localhost:9094", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
50+
http.ListenAndServe(":9094", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
5151
b, err := ioutil.ReadAll(r.Body)
5252
if err != nil {
5353
panic(err)

0 commit comments

Comments
 (0)