fix(): Ajuste no bloqueio de telas
This commit is contained in:
parent
0d5d285786
commit
2a4c759c16
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue