aboutsummaryrefslogtreecommitdiff
path: root/internal/frontend/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/frontend/server.go')
-rw-r--r--internal/frontend/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/frontend/server.go b/internal/frontend/server.go
index 00dc7ad6..b229af0d 100644
--- a/internal/frontend/server.go
+++ b/internal/frontend/server.go
@@ -238,6 +238,7 @@ func (s *Server) Install(handle func(string, http.Handler), cacher Cacher, authV
handle("GET /vuln/", vulnHandler)
handle("GET /v1/package/", s.errorHandler(api.ServePackage))
handle("GET /v1/module/", s.errorHandler(api.ServeModule))
+ handle("GET /v1/versions/", s.errorHandler(api.ServeModuleVersions))
handle("/opensearch.xml", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
serveFileFS(w, r, s.staticFS, "shared/opensearch.xml")
}))