修复密码登录失败问题 & 过滤无需认证的路径
This commit is contained in:
@@ -3,7 +3,7 @@ import {refreshAuth} from '@/actions/auth'
|
||||
|
||||
export const config = {
|
||||
matcher: [
|
||||
'/((?!api|_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt).*(?<!\.svg|\.webp|\.jpg)$)',
|
||||
'/((?!api|_next/static|_next/image|.well-known|sw.js|favicon.ico|sitemap.xml|robots.txt).*(?<!\.svg|\.webp|\.jpg)$)',
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user