mirror of
https://github.com/kyantech/Palmr.git
synced 2025-10-23 06:11:58 +00: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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user