Change back mounting order, for better logs

This commit is contained in:
Deluan 2021-05-24 12:17:55 -04:00
parent 86d3a219a9
commit 882519738f
1 changed files with 1 additions and 1 deletions

View File

@ -73,8 +73,8 @@ func runNavidrome() {
func startServer() (func() error, func(err error)) {
return func() error {
a := CreateServer(conf.Server.MusicFolder)
a.MountRouter("WebUI", consts.URLPathUI, CreateAppRouter())
a.MountRouter("Subsonic API", consts.URLPathSubsonicAPI, CreateSubsonicAPIRouter())
a.MountRouter("WebUI", consts.URLPathUI, CreateAppRouter())
return a.Run(fmt.Sprintf("%s:%d", conf.Server.Address, conf.Server.Port))
}, func(err error) {
if err != nil {