mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
change home config dir
This commit is contained in:
parent
6b808120bb
commit
8f129f0e0e
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user