diff --git a/middleware.js b/middleware.js index dd9f47d1..faca43f7 100644 --- a/middleware.js +++ b/middleware.js @@ -57,3 +57,12 @@ export function middleware (request) { } return multiAuthMiddleware(request) } + +export const config = { + matcher: [ + // referrals + '/(.*/|)r/([\\w_]+)([?#]?.*)', + // account switching + '/api/graphql', '/_next/data/(.*)' + ] +}