From bfd2a0be7d4508e081e3a95a5842e4dd35252a29 Mon Sep 17 00:00:00 2001 From: Jon Chappelow Date: Sun, 27 Aug 2017 00:11:24 -0600 Subject: [PATCH] remove /directory for now --- apirouter.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apirouter.go b/apirouter.go index 7e77bc6eb..1bd629217 100644 --- a/apirouter.go +++ b/apirouter.go @@ -165,7 +165,8 @@ func newAPIRouter(app *appContext, userRealIP bool) apiMux { // return // } - mux.With(apiDocs(mux)).HandleFunc("/directory", APIDirectory) + // mux.HandleFunc("/directory", APIDirectory) + // mux.With(apiDocs(mux)).HandleFunc("/directory", APIDirectory) var listRoutePatterns func(routes []chi.Route) []string listRoutePatterns = func(routes []chi.Route) []string {