Be explicit about middleware matching
This commit is contained in:
parent
74304e2f75
commit
3e6748f94b
|
@ -57,3 +57,12 @@ export function middleware (request) {
|
||||||
}
|
}
|
||||||
return multiAuthMiddleware(request)
|
return multiAuthMiddleware(request)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const config = {
|
||||||
|
matcher: [
|
||||||
|
// referrals
|
||||||
|
'/(.*/|)r/([\\w_]+)([?#]?.*)',
|
||||||
|
// account switching
|
||||||
|
'/api/graphql', '/_next/data/(.*)'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue