fix: correct regex pattern for matcher in middleware
This commit is contained in:
parent
89b73865ec
commit
df7413d6ba
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,6 @@ export { auth as middleware } from '@/auth';
|
|||
|
||||
export const config = {
|
||||
matcher: [
|
||||
'/((?!api|_next/static|_next/image|site.webmanifest|web-app-manifest-(?:(192x192|512x512)*\.png|favicon-(?:dark|light)?\.(?:png|svg)).*)',
|
||||
'/((?!api|_next/static|_next/image|site\.webmanifest|web-app-manifest-(?:192x192|512x512)\.png|favicon(?:-(?:dark|light))?\.(?:png|svg|ico)).*)'
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue