Skip to content

Commit

Permalink
fix: bind to all interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mgjules committed Sep 11, 2023
1 parent f0c6f6c commit bd3505e
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 @@ -90,7 +90,7 @@ func run() error {
r.Get("/login", login(jwt))

server := &http.Server{
Addr: "localhost:" + port,
Addr: ":" + port,
Handler: r,
ReadTimeout: 5 * time.Second,
WriteTimeout: 10 * time.Second,
Expand Down

0 comments on commit bd3505e

Please sign in to comment.