Skip to content

Commit

Permalink
chore: adjust middleware config
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreiffers committed Aug 23, 2024
1 parent 8c5bd0c commit 325dea4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/forms/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,8 @@ export const middleware = (request: NextRequest) => {
export const config = {
// Matcher ignoring `/_next/` and `/api/`
matcher: ['/((?!api|_next/static|_next/image|favicon.ico).*)', { source: '/' }],
missing: [
{ type: 'header', key: 'next-router-prefetch' },
{ type: 'header', key: 'purpose', value: 'prefetch' },
],
};

0 comments on commit 325dea4

Please sign in to comment.