Fix: exclude static image files from auth middleware matcher
This commit is contained in:
parent
cf79b3453d
commit
384821de33
1 changed files with 1 additions and 1 deletions
|
|
@ -71,6 +71,6 @@ export const config = {
|
|||
* - _next/image (image optimization files)
|
||||
* - favicon.ico (favicon file)
|
||||
*/
|
||||
'/((?!api/auth|_next/static|_next/image|favicon.ico).*)',
|
||||
'/((?!api/auth|_next/static|_next/image|favicon.ico|.*\\.png|.*\\.webp|.*\\.svg|.*\\.jpg|.*\\.ico).*)',
|
||||
],
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue