diff --git a/cmd/dwelling-radiodj/main.go b/cmd/dwelling-radiodj/main.go index d754e8c..0cb45c1 100644 --- a/cmd/dwelling-radiodj/main.go +++ b/cmd/dwelling-radiodj/main.go @@ -56,8 +56,7 @@ func main() { s.Handler(http.MethodPost, "/", djh.ListenersInc) s.Handler(http.MethodDelete, "/", djh.ListenersDec) - s = r.Sub("/playlist") - s.Handler(http.MethodGet, "/", djh.PlaylistNext) + r.Handler(http.MethodGet, "/playlist", djh.PlaylistNext) r.Handler(http.MethodGet, "/song", djh.Song) r.Handler(http.MethodGet, "/songs", djh.Songs)