diff --git a/rest/src/main/groovy/whelk/rest/api/Crud.groovy b/rest/src/main/groovy/whelk/rest/api/Crud.groovy index d66b4eb1e4..f87c15d472 100644 --- a/rest/src/main/groovy/whelk/rest/api/Crud.groovy +++ b/rest/src/main/groovy/whelk/rest/api/Crud.groovy @@ -116,6 +116,8 @@ class Crud extends HttpServlet { if (request.pathInfo == "/") { measurement = metrics.measure('INDEX') displayInfo(response) + } else if (request.pathInfo == CONTEXT_PATH) { + sendRedirect(request, response, whelk.systemContextUri) } else if (siteSearch.isSearchResource(request.pathInfo)) { measurement = metrics.measure('FIND') handleQuery(request, response)