Edit app-9xzmfic2e4g1/src/components/common/RouteGuard.tsx via Editor

This commit is contained in:
Flatlogic Bot 2026-03-06 15:23:32 +00:00
parent d1b8576212
commit 9e4c2baf15

View File

@ -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 => {