Skip to content

Commit

Permalink
fix: fix env problem
Browse files Browse the repository at this point in the history
  • Loading branch information
PPsteven committed Apr 23, 2024
1 parent b18139f commit d8e878a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func NewConfig() *Config {
func loadConfig() Config {
var c Config
viper.SetConfigFile(configPath)
viper.AutomaticEnv()

if err := viper.ReadInConfig(); err != nil {
log.Fatalf("failed to read config: %s, err: %v", configPath, err)
Expand Down

0 comments on commit d8e878a

Please sign in to comment.