diff --git a/api/server.go b/api/server.go index b5ee05a3f..982cadd76 100644 --- a/api/server.go +++ b/api/server.go @@ -260,6 +260,9 @@ func NewServerRoutes(s *Server) *http.ServeMux { hh.HistoryRequests.Node = s.qriNode m.Handle("/history/", s.middleware(hh.LogHandler)) + rgh := NewRegistryHandlers(s.qriNode.Repo) + m.Handle("/registry/", s.middleware(rgh.RegistryHandler)) + rh := NewRootHandler(dsh, ph) m.Handle("/", s.datasetRefMiddleware(s.middleware(rh.Handler)))