chore: add project files and setup gitignore
This commit is contained in:
14
reserva-mesa-dashboard/middleware.ts
Normal file
14
reserva-mesa-dashboard/middleware.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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).*)',
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user