mirror of
https://github.com/kyantech/Palmr.git
synced 2026-01-09 06:02:28 +08:00
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:
parent
a59857079e
commit
965c64b468
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user