From 8aa41fbac8c7ab7a0f2e6d211eb0c70dc3405b71 Mon Sep 17 00:00:00 2001 From: Maura Fortino Date: Tue, 16 Jan 2024 10:10:48 -0500 Subject: [PATCH] Update routes.go Co-authored-by: Owen Cabalceta --- routes.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routes.go b/routes.go index ac9cc54c..9fb93238 100644 --- a/routes.go +++ b/routes.go @@ -65,6 +65,7 @@ func provideCoreOption(server string, in RoutesIn) arrangehttp.Option[http.Serve if in.PreviousVersionSupport { urlPrefix = fmt.Sprintf("/%s", apiBaseDualVersion) } + mux := chi.NewMux() // TODO: should probably customize things a bit mux.Use(recovery.Middleware(recovery.WithStatusCode(555)))