2 parents 427edca + d1db601 commit 70365baCopy full SHA for 70365ba
1 file changed
middleware.ts
@@ -307,7 +307,7 @@ export async function middleware(req: NextRequest) {
307
export const config = {
308
matcher: [
309
// Protéger toutes les routes sauf les fichiers statiques et API
310
- '/((?!api|_next/static|_next/image|favicon.ico).*)',
+ '/((?!api|_next/static|_next/image|favicon.ico|icon.svg).*)',
311
// Exceptions : on inclut explicitement les mutations de config exposées en API
312
'/api/projects/:path*',
313
'/api/holidays/:path*',
0 commit comments