Skip to content

Commit

Permalink
chore: change default hosts to 0.0.0.0 (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
kashalls authored Sep 30, 2024
1 parent 62a6d46 commit abab341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/kromgo/init/configuration/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
)

type ServerConfig struct {
ServerHost string `env:"SERVER_HOST" envDefault:"localhost"`
ServerHost string `env:"SERVER_HOST" envDefault:"0.0.0.0"`
ServerPort int `env:"SERVER_PORT" envDefault:"8080"`

HealthHost string `env:"HEALTH_HOST" envDefault:"localhost"`
HealthHost string `env:"HEALTH_HOST" envDefault:"0.0.0.0"`
HealthPort int `env:"HEALTH_PORT" envDefault:"8888"`

ServerReadTimeout time.Duration `env:"SERVER_READ_TIMEOUT"`
Expand Down

0 comments on commit abab341

Please sign in to comment.