Skip to content

Commit

Permalink
imp #12: added the /a/ to the auth group
Browse files Browse the repository at this point in the history
  • Loading branch information
donkeyx committed Sep 13, 2023
1 parent 1bbec2e commit c5f910b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c5f910b

Please sign in to comment.