From fe54be62174880fb00bc97d645e2c63de9962c5a Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 5 Oct 2020 12:28:54 -0400 Subject: [PATCH] read from correct config directory --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 5c93eae..dc20929 100644 --- a/config.go +++ b/config.go @@ -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 {