diff --git a/tavla/middleware.ts b/tavla/middleware.ts index 0f39629f0..c05cc0cd6 100644 --- a/tavla/middleware.ts +++ b/tavla/middleware.ts @@ -22,5 +22,10 @@ export function middleware(request: NextRequest) { } export const config = { - matcher: ['/:id(\\w{20})'], + matcher: [ + { + source: '/:id(\\w{20})', + missing: [{ type: 'header', key: 'next-router-prefetch' }], + }, + ], }