Rename env vars prefix to ND_

This commit is contained in:
Deluan 2020-01-24 01:29:31 -05:00
parent d48ddacaba
commit bff6f3a4bd
18 changed files with 42 additions and 42 deletions

View file

@ -8,12 +8,12 @@ import (
func main() {
conf.Load()
if !conf.Sonic.DevDisableBanner {
if !conf.Server.DevDisableBanner {
server.ShowBanner()
}
a := CreateServer(conf.Sonic.MusicFolder)
a := CreateServer(conf.Server.MusicFolder)
a.MountRouter("/rest", CreateSubsonicAPIRouter())
a.MountRouter("/app", CreateAppRouter("/app"))
a.Run(":" + conf.Sonic.Port)
a.Run(":" + conf.Server.Port)
}