Skip to content

Commit

Permalink
chore: change default hosts to 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kashalls committed Sep 30, 2024
1 parent 62a6d46 commit abd19bd
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 abd19bd

Please # to comment.