refactor: simplify middleware
This commit is contained in:
parent
784549f7e1
commit
5bcb16a9b5
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|favicon.ico|favicon-96x96.png|favicon.svg|site.webmanifest|web-app-manifest-192x192.png|web-app-manifest-512x512.png|favicon-dark.svg|favicon-light.svg|favicon-light.png|favicon-dark.png).*)',
|
||||
'/((?!api|_next/static|_next/image|site.webmanifest|web-app-manifest-192x192.png|web-app-manifest-512x512.png|favicon-(?:dark|light)?\.(?:png|svg)).*)',
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue