mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Use OS-independent path separators
This commit is contained in:
parent
8d27c77c2c
commit
0403ec2a07
3 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue