fix: Does not include extension when set config name

pull/34/head
1379 2 years ago committed by 1379Monitor
parent 3dce859bac
commit e4fe69ac91

@ -22,7 +22,7 @@ func NewConfig() *Config {
viper.SetConfigFile(configFile)
} else {
viper.AddConfigPath("./conf/")
viper.SetConfigName("config.yaml")
viper.SetConfigName("config")
}
conf := &Config{}

Loading…
Cancel
Save