diff --git a/go-backend/cmd/api/main.go b/go-backend/cmd/api/main.go index c6d54d4..54a2dc0 100644 --- a/go-backend/cmd/api/main.go +++ b/go-backend/cmd/api/main.go @@ -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)