Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

Commit

Permalink
feat(cmd/server): adjust default address
Browse files Browse the repository at this point in the history
  • Loading branch information
KnutZuidema committed Sep 30, 2019
1 parent add0e79 commit 4106e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func main() {
r.Path("/event").Methods("GET").HandlerFunc(h.Event)
r.Path("/upload").Methods("POST").HandlerFunc(h.PostFile)
http.Handle("/", r)
if err := http.ListenAndServe(":8080", nil); err != nil {
if err := http.ListenAndServe("0.0.0.0:8080", nil); err != nil {
log.Fatal(err)
}
}

0 comments on commit 4106e80

Please sign in to comment.