More work on Shares
This commit is contained in:
@@ -84,9 +84,6 @@ func startServer(ctx context.Context) func() error {
|
||||
a.MountRouter("Native API", consts.URLPathNativeAPI, CreateNativeAPIRouter())
|
||||
a.MountRouter("Subsonic API", consts.URLPathSubsonicAPI, CreateSubsonicAPIRouter())
|
||||
a.MountRouter("Public Endpoints", consts.URLPathPublic, CreatePublicRouter())
|
||||
if conf.Server.DevEnableShare {
|
||||
a.MountRouter("Share Endpoint", consts.URLPathShares, CreateSharesRouter())
|
||||
}
|
||||
if conf.Server.LastFM.Enabled {
|
||||
a.MountRouter("LastFM Auth", consts.URLPathNativeAPI+"/lastfm", CreateLastFMRouter())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user