15 lines
398 B
TypeScript
15 lines
398 B
TypeScript
import { NextResponse } from 'next/server'
|
|
import type { NextRequest } from 'next/server'
|
|
|
|
export function middleware(request: NextRequest) {
|
|
// Configuração básica do middleware. A proteção real de rotas
|
|
// será implementada na Fase 3 (Autenticação).
|
|
return NextResponse.next()
|
|
}
|
|
|
|
export const config = {
|
|
matcher: [
|
|
'/((?!api|_next/static|_next/image|favicon.ico).*)',
|
|
],
|
|
}
|