Skip to content

Commit

Permalink
fix: config 원복
Browse files Browse the repository at this point in the history
  • Loading branch information
miro-ring committed Feb 21, 2024
1 parent 9e82f4f commit 345ac5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ export const middleware = async (request: NextRequest) => {
return NextResponse.redirect(new URL('/', request.url));
}
};

export const config = {
matcher: ['/((?!api|_next/static|_next/image|favicon.ico).*)'],
};

0 comments on commit 345ac5e

Please sign in to comment.