Skip to content

Commit

Permalink
Update server address in server.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sash20m committed Apr 27, 2024
1 parent 9d72d35 commit 74ede58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (app *AppServer) Run(appConfig config.ApiEnvConfig) {

addr := ":" + app.Port
if app.Env == "DEV" {
addr = "0.0.0.0:" + app.Port
addr = "localhost:" + app.Port
}

server := http.Server{
Expand Down

0 comments on commit 74ede58

Please sign in to comment.