diff --git a/api.router.core.go b/api.router.core.go index 5546d2b..3a77408 100644 --- a/api.router.core.go +++ b/api.router.core.go @@ -14,6 +14,6 @@ func (api *APIHandler) SetupRoutes(router *httprouter.Router, m *MiddlewareMap) if api.config.OpsEndpointsEnable { api.SetupOpsRoutes(router, m) } - router.GET("/swagger/*", m.public(api.OpsHandlerWrapper(httpswagger.WrapHandler))) + router.GET("/swagger/", m.public(api.OpsHandlerWrapper(httpswagger.WrapHandler))) return router }