forked from vikunja/vikunja
expand relative path ~/.config/vikunja
This commit is contained in:
parent
88bf8f3df0
commit
263e77dbc0
@ -244,7 +244,7 @@ func InitConfig() {
|
||||
// Load the config file
|
||||
viper.AddConfigPath(ServiceRootpath.GetString())
|
||||
viper.AddConfigPath("/etc/vikunja/")
|
||||
viper.AddConfigPath("~/.config/vikunja")
|
||||
viper.AddConfigPath("$HOME/.config/vikunja")
|
||||
viper.AddConfigPath(".")
|
||||
viper.SetConfigName("config")
|
||||
err := viper.ReadInConfig()
|
||||
|
Loading…
Reference in New Issue
Block a user