mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 21:17:37 +03:00
Initial work on Shares
This commit is contained in:
parent
5331de17c2
commit
ab04e33da6
36 changed files with 841 additions and 84 deletions
|
@ -84,6 +84,9 @@ 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