mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-15 03:30:39 +03:00
Change back mounting order, for better logs
This commit is contained in:
parent
86d3a219a9
commit
882519738f
@ -73,8 +73,8 @@ func runNavidrome() {
|
|||||||
func startServer() (func() error, func(err error)) {
|
func startServer() (func() error, func(err error)) {
|
||||||
return func() error {
|
return func() error {
|
||||||
a := CreateServer(conf.Server.MusicFolder)
|
a := CreateServer(conf.Server.MusicFolder)
|
||||||
a.MountRouter("WebUI", consts.URLPathUI, CreateAppRouter())
|
|
||||||
a.MountRouter("Subsonic API", consts.URLPathSubsonicAPI, CreateSubsonicAPIRouter())
|
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))
|
return a.Run(fmt.Sprintf("%s:%d", conf.Server.Address, conf.Server.Port))
|
||||||
}, func(err error) {
|
}, func(err error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user