fix: add ALTCHA routes directly to main router
- Move ALTCHA routes to main router for testing - This should bypass any v1 group registration issues - Simple test endpoint added as well
This commit is contained in:
parent
b6909ffc67
commit
df36fc739f
|
|
@ -222,6 +222,13 @@ func main() {
|
|||
c.Status(200)
|
||||
})
|
||||
|
||||
// ALTCHA challenge endpoints (direct to main router for testing)
|
||||
r.GET("/api/v1/auth/altcha-challenge", authHandler.GetAltchaChallenge)
|
||||
r.GET("/api/v1/admin/altcha-challenge", adminHandler.GetAltchaChallenge)
|
||||
r.GET("/api/v1/test", func(c *gin.Context) {
|
||||
c.JSON(200, gin.H{"message": "Route test successful"})
|
||||
})
|
||||
|
||||
v1 := r.Group("/api/v1")
|
||||
{
|
||||
// Public waitlist signup (no auth required)
|
||||
|
|
|
|||
Loading…
Reference in a new issue