diff --git a/cmd/root.go b/cmd/root.go index 3015dd75..da088e76 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -83,7 +83,7 @@ func startServer(ctx context.Context) func() error { a := CreateServer(conf.Server.MusicFolder) a.MountRouter("Native API", consts.URLPathNativeAPI, CreateNativeAPIRouter()) a.MountRouter("Subsonic API", consts.URLPathSubsonicAPI, CreateSubsonicAPIRouter()) - a.MountRouter("Public Endpoints", "/p", CreatePublicRouter()) + a.MountRouter("Public Endpoints", consts.URLPathPublic, CreatePublicRouter()) if conf.Server.LastFM.Enabled { a.MountRouter("LastFM Auth", consts.URLPathNativeAPI+"/lastfm", CreateLastFMRouter()) }