fix(): Ajuste no bloqueio de telas

This commit is contained in:
Kenio 2025-11-10 15:34:30 -03:00
parent 0d5d285786
commit 2a4c759c16

View file

@ -4,7 +4,6 @@ import { NextResponse, type MiddlewareConfig, type NextRequest } from 'next/serv
const publicRoutes = [
{ path: '/login', whenAuthenticated: 'redirect' },
{ path: '/register', whenAuthenticated: 'redirect' },
{ path: '/', whenAuthenticated: 'next' },
] as const;
const ROOT_PATH = '/login'; // url raiz