WaspW
Wasp•2y ago
Dayne

[SOLVED] Help with auth vs unauth routing...

Hi! đŸ‘‹ Anyone have techniques or ideas on setting up routing within the main.wasp to handle unauth routes vs auth routes if I want all auth to be prefixed with /app and redirect there if logged in? I know there is a rootComponent config but that applies to all. My idea was to have all the logged in app under /app and the landing pages to be
/
.
Was this page helpful?