feat: persist sidebar state

This commit is contained in:
juancwu 2026-04-12 16:15:22 +00:00
commit de0e87cd71
4 changed files with 36 additions and 2 deletions

View file

@ -33,6 +33,7 @@ func SetupRoutes(a *app.App) http.Handler {
middleware.CSRFProtection,
middleware.AuthMiddleware(a.AuthService, a.UserService),
middleware.WithURLPath,
middleware.WithSidebarState,
)
// Static assets (bypass router groups — registered directly on mux)