Use OS-independent path separators

This commit is contained in:
Deluan 2020-07-28 08:49:07 -04:00
parent 8d27c77c2c
commit 0403ec2a07
3 changed files with 3 additions and 4 deletions

View file

@ -71,8 +71,8 @@ func Load() {
}
func init() {
viper.SetDefault("musicfolder", "./music")
viper.SetDefault("datafolder", "./")
viper.SetDefault("musicfolder", filepath.Join(".", "music"))
viper.SetDefault("datafolder", ".")
viper.SetDefault("loglevel", "info")
viper.SetDefault("address", "0.0.0.0")
viper.SetDefault("port", 4533)