Removed Sub for a /playlist endpoint.
This commit is contained in:
parent
3ed0f7b62a
commit
7e4ca6990b
@ -56,8 +56,7 @@ func main() {
|
|||||||
s.Handler(http.MethodPost, "/", djh.ListenersInc)
|
s.Handler(http.MethodPost, "/", djh.ListenersInc)
|
||||||
s.Handler(http.MethodDelete, "/", djh.ListenersDec)
|
s.Handler(http.MethodDelete, "/", djh.ListenersDec)
|
||||||
|
|
||||||
s = r.Sub("/playlist")
|
r.Handler(http.MethodGet, "/playlist", djh.PlaylistNext)
|
||||||
s.Handler(http.MethodGet, "/", djh.PlaylistNext)
|
|
||||||
|
|
||||||
r.Handler(http.MethodGet, "/song", djh.Song)
|
r.Handler(http.MethodGet, "/song", djh.Song)
|
||||||
r.Handler(http.MethodGet, "/songs", djh.Songs)
|
r.Handler(http.MethodGet, "/songs", djh.Songs)
|
||||||
|
Loading…
Reference in New Issue
Block a user