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
|
|
@ -17,7 +17,6 @@ import (
|
|||
"github.com/navidrome/navidrome/server/events"
|
||||
"github.com/navidrome/navidrome/server/nativeapi"
|
||||
"github.com/navidrome/navidrome/server/public"
|
||||
"github.com/navidrome/navidrome/server/shares"
|
||||
"github.com/navidrome/navidrome/server/subsonic"
|
||||
)
|
||||
|
||||
|
|
@ -27,7 +26,6 @@ var allProviders = wire.NewSet(
|
|||
subsonic.New,
|
||||
nativeapi.New,
|
||||
public.New,
|
||||
shares.New,
|
||||
persistence.New,
|
||||
lastfm.NewRouter,
|
||||
listenbrainz.NewRouter,
|
||||
|
|
@ -61,12 +59,6 @@ func CreatePublicRouter() *public.Router {
|
|||
))
|
||||
}
|
||||
|
||||
func CreateSharesRouter() *shares.Router {
|
||||
panic(wire.Build(
|
||||
allProviders,
|
||||
))
|
||||
}
|
||||
|
||||
func CreateLastFMRouter() *lastfm.Router {
|
||||
panic(wire.Build(
|
||||
allProviders,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue