diff --git a/app-9xzmfic2e4g1/src/components/common/RouteGuard.tsx b/app-9xzmfic2e4g1/src/components/common/RouteGuard.tsx index 215fb19..9043c7e 100644 --- a/app-9xzmfic2e4g1/src/components/common/RouteGuard.tsx +++ b/app-9xzmfic2e4g1/src/components/common/RouteGuard.tsx @@ -7,7 +7,7 @@ interface RouteGuardProps { } // Please add the pages that can be accessed without logging in to PUBLIC_ROUTES. -const PUBLIC_ROUTES = ['/login', '/403', '/404', '/', '/explore', '/planner']; +const PUBLIC_ROUTES = ['/login', '/403', '/404', '/', '/explore', '/planner', '/rehberler', '/rehber/*']; function matchPublicRoute(path: string, patterns: string[]) { return patterns.some(pattern => {