feat: add terms and privacy pages

This commit is contained in:
juancwu 2026-01-30 03:21:12 +00:00
commit c473c88c33
9 changed files with 240 additions and 6 deletions

View file

@ -29,6 +29,8 @@ func SetupRoutes(a *app.App) http.Handler {
// Home
mux.HandleFunc("GET /{$}", home.HomePage)
mux.HandleFunc("GET /forbidden", home.ForbiddenPage)
mux.HandleFunc("GET /privacy", home.PrivacyPage)
mux.HandleFunc("GET /terms", home.TermsPage)
// Auth pages
authRateLimiter := middleware.RateLimitAuth()