Skip to content

Commit

Permalink
move to 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iyoubee committed Jun 2, 2024
1 parent 10ae40a commit 78bcdfb
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 @@ -71,7 +71,7 @@ func main() {
port = "8080"
}

if err := server.Run(":" + port); err != nil {
if err := server.Run("0.0.0.0:" + port); err != nil {
fmt.Println("Server failed to start: ", err)
return
}
Expand Down

0 comments on commit 78bcdfb

Please sign in to comment.