Skip to content

Commit

Permalink
chore: update serverConfig Port field to use env variable PORT
Browse files Browse the repository at this point in the history
  • Loading branch information
taciturnaxolotl committed Sep 23, 2024
1 parent 8bbb898 commit 3c90538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ type dbConfig struct {
}

type serverConfig struct {
Port int `default:"3000" env:"WAKAPI_PORT"`
Port int `default:"3000" env:"PORT"`
ListenIpV4 string `yaml:"listen_ipv4" default:"127.0.0.1" env:"WAKAPI_LISTEN_IPV4"`
ListenIpV6 string `yaml:"listen_ipv6" default:"::1" env:"WAKAPI_LISTEN_IPV6"`
ListenSocket string `yaml:"listen_socket" default:"" env:"WAKAPI_LISTEN_SOCKET"`
Expand Down

0 comments on commit 3c90538

Please sign in to comment.