fix: onboard endpoints rate limitted
All checks were successful
Deploy / build-and-deploy (push) Successful in 1m1s

This commit is contained in:
juancwu 2026-02-09 21:24:02 +00:00
commit 720d043dee

View file

@ -52,7 +52,7 @@ func SetupRoutes(a *app.App) http.Handler {
// ==================================================================================== // ====================================================================================
mux.HandleFunc("GET /auth/onboarding", middleware.RequireAuth(auth.OnboardingPage)) mux.HandleFunc("GET /auth/onboarding", middleware.RequireAuth(auth.OnboardingPage))
mux.HandleFunc("POST /auth/onboarding", authRateLimiter(middleware.RequireAuth(auth.CompleteOnboarding))) mux.HandleFunc("POST /auth/onboarding", middleware.RequireAuth(auth.CompleteOnboarding))
mux.HandleFunc("GET /app/dashboard", middleware.RequireAuth(dashboard.DashboardPage)) mux.HandleFunc("GET /app/dashboard", middleware.RequireAuth(dashboard.DashboardPage))
mux.HandleFunc("POST /app/spaces", middleware.RequireAuth(dashboard.CreateSpace)) mux.HandleFunc("POST /app/spaces", middleware.RequireAuth(dashboard.CreateSpace))