From 882519738f7ab72280ce720f6ec68b959144f023 Mon Sep 17 00:00:00 2001 From: Deluan <deluan@navidrome.org> Date: Mon, 24 May 2021 12:17:55 -0400 Subject: [PATCH] Change back mounting order, for better logs --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index bfddd882e..667598520 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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 {