From c5f910bfbcd0c18e6ea47eda42ab21800443c9c1 Mon Sep 17 00:00:00 2001 From: David Binney Date: Thu, 14 Sep 2023 07:00:38 +0930 Subject: [PATCH] imp #12: added the /a/ to the auth group --- routes/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/routes.go b/routes/routes.go index f88be8a..bfef9aa 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -20,7 +20,7 @@ func SetupRouter(logger *zap.Logger, st string, r *gin.Engine) { r.GET("/headers", handlers.HeadersHandler) r.GET("/debug", handlers.DebugHandler) - authGroup := r.Group("/auth") + authGroup := r.Group("/a") authGroup.Use(middleware.AuthMiddleware(logger, st)) authGroup.GET("/env", handlers.EnvHandler)