Implement old storage.Path API
This commit is contained in:
parent
164e071e7f
commit
360bed00f9
11 changed files with 44 additions and 39 deletions
|
@ -53,7 +53,7 @@ type LetsEncrypt struct {
|
|||
|
||||
func LoadConfig() (*Config, chan *Config) {
|
||||
viper.SetConfigName("config")
|
||||
viper.AddConfigPath(storage.ConfigPath.Root())
|
||||
viper.AddConfigPath(storage.Path.ConfigRoot())
|
||||
viper.ReadInConfig()
|
||||
|
||||
config := &Config{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue