fix: configure middlewares before groups

This commit is contained in:
Stavros
2025-08-26 13:17:10 +03:00
parent 77296daef3
commit 8435cbe434
3 changed files with 10 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ func NewProxyController(config ProxyControllerConfig, router *gin.RouterGroup, d
}
func (controller *ProxyController) SetupRoutes() {
proxyGroup := controller.Router.Group("/api/auth")
proxyGroup := controller.Router.Group("/auth")
proxyGroup.GET("/:proxy", controller.proxyHandler)
}