read from correct config directory
This commit is contained in:
parent
53efeb18d4
commit
fe54be6217
@ -46,7 +46,7 @@ func validateConfigEntry(entry string, name string) bool {
|
||||
|
||||
func LoadConfig() (*Config, error) {
|
||||
viper.SetConfigName("guildgate")
|
||||
viper.AddConfigPath("/etc/")
|
||||
viper.AddConfigPath("/etc/guildgate")
|
||||
viper.AddConfigPath(".")
|
||||
err := viper.ReadInConfig()
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user