From 9a2fc8efce8402e27e1d7fa86ef11cf40f5e6427 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 15 Mar 2020 22:37:13 +0100 Subject: added another config path --- src/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.go b/src/main.go index db0b601..5fbd2e9 100644 --- a/src/main.go +++ b/src/main.go @@ -28,6 +28,7 @@ func initConfig() { // parse the config viper.SetConfigName("config") viper.AddConfigPath(".") + viper.AddConfigPath("/go/src/app/") viper.AutomaticEnv() // Fix nested keys don't work with . -- cgit 1.4.1