Skip to content

Commit

Permalink
fix: listen to all internal interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
FinalAngel committed Apr 25, 2024
1 parent 8659386 commit bbe081c
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 @@ -12,5 +12,5 @@ func handler(w http.ResponseWriter, r *http.Request) {

func main() {
http.HandleFunc("/", handler)
log.Fatal(http.ListenAndServe(":80", nil))
log.Fatal(http.ListenAndServe("0.0.0.0:80", nil))
}

0 comments on commit bbe081c

Please sign in to comment.