Edit app-9xzmfic2e4g1/src/components/common/RouteGuard.tsx via Editor
This commit is contained in:
parent
d1b8576212
commit
9e4c2baf15
@ -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 => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user