mirror of
https://github.com/navidrome/navidrome.git
synced 2026-04-28 03:19:38 +00:00
More work on Shares
This commit is contained in:
parent
ab04e33da6
commit
84aa094e56
19 changed files with 150 additions and 167 deletions
|
|
@ -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())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue