Author: Michael Lynch <git@mtlynch.io>
Committer: Michael Lynch <mtlynch@noreply.codeberg.org>
Reduce duplication in routes with subrouters (#49) Use a subrouter for API routes so requireAuthenticationAPI is applied once, and a subrouter for view routes so requireAuthentication and enforceContentSecurityPolicy are applied once. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Reviewed-on: https://codeberg.org/mtlynch/grosiree/pulls/49 Co-authored-by: Michael Lynch <git@mtlynch.io> Co-committed-by: Michael Lynch <git@mtlynch.io>