feat: update public paths in RedirectHandler for enhanced routing

- Added new public paths ("/s/" and "/r/") to the RedirectHandler component to support additional routes for unauthenticated users.
This commit is contained in:
Daniel Luiz Alves
2025-08-01 10:01:59 -03:00
parent a59857079e
commit 965c64b468

View File

@@ -10,7 +10,7 @@ interface RedirectHandlerProps {
children: React.ReactNode;
}
const publicPaths = ["/login", "/forgot-password", "/reset-password", "/auth/callback", "/auth/oidc/callback"];
const publicPaths = ["/login", "/forgot-password", "/reset-password", "/auth/callback", "/auth/oidc/callback", "/s/", "/r/"];
const homePaths = ["/"];
export function RedirectHandler({ children }: RedirectHandlerProps) {