change home config dir

This commit is contained in:
c9s 2020-10-12 07:37:05 +08:00
parent 6b808120bb
commit 8f129f0e0e

View File

@ -46,7 +46,7 @@ func Run() {
// setup the config paths for looking up the config file
viper.AddConfigPath("config")
viper.AddConfigPath("$HOME/config")
viper.AddConfigPath("$HOME/.bbgo")
viper.AddConfigPath("/etc/bbgo")
// set the config file name and format for loading the config file.