We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f9723a commit 43ccb03Copy full SHA for 43ccb03
cmd/root.go
@@ -89,7 +89,9 @@ func initConfig() {
89
viper.SetConfigFile(cfgFile)
90
} else {
91
viper.SetConfigName(".rcon-cli") // name of config file (without extension)
92
- viper.AddConfigPath("$HOME") // adding home directory as first search path
+ viper.AddConfigPath("$HOME")
93
+ viper.AddConfigPath("/data")
94
+ viper.AddConfigPath("/server")
95
}
96
97
// This will allow for env vars like RCON_PORT
0 commit comments