Skip to content

🎧 Your Personal Streaming Service

Change back mounting order, for better logs

Deluan882519738f7a
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 {