Implement old storage.Path API

This commit is contained in:
Ken-Håvard Lieng 2020-04-20 03:02:15 +02:00
parent 164e071e7f
commit 360bed00f9
11 changed files with 44 additions and 39 deletions

View file

@ -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{}