diff --git a/memento-note/middleware.ts b/memento-note/middleware.ts index 9158636..eb69e1e 100644 --- a/memento-note/middleware.ts +++ b/memento-note/middleware.ts @@ -7,5 +7,5 @@ export default NextAuth(authConfig).auth; export const config = { // https://nextjs.org/docs/app/building-your-application/routing/middleware#matcher - matcher: ['/((?!api|_next/static|_next/image|uploads|.*\.(png|json|svg|ico|jpg|jpeg|webp|woff2?)$).*)'], + matcher: ['/((?!api|_next/static|_next/image|uploads|.*\\.(?:png|json|svg|ico|jpg|jpeg|webp|woff2?)$).*)'], }; \ No newline at end of file