Skip to content

Commit

Permalink
fix timeout error in EE
Browse files Browse the repository at this point in the history
  • Loading branch information
addy-pathania committed Aug 29, 2022
1 parent 26ce87e commit 54afc0b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ import middleware from 'lib/middleware';
export default async function (req: NextRequest, ev: NextFetchEvent) {
return middleware(req, ev);
}

export const config = {
// Exclude Sitecore editing API routes
matcher: ['/', '/((?!api/editing/).*)'],
};

0 comments on commit 54afc0b

Please sign in to comment.