Pathless layout with standard layout
Hi there! I'm new to TSR and a bit puzzled by the routing syntax compared to simpler ones like in Astro. Basically, I want to achieve this:
Both routes should share a layout but accessing
/auth
should throw a 404. Currently, I have
But accessing /auth
does not throw a 404.
Thanks a lot!2 Replies
generous-apricot•15mo ago
If you want to throw a 404 when accessing the index route of
/auth
, you'll need to tell router that you explicitly don't want this route to be accessible.
typical-coralOP•15mo ago
Alright thanks!