From 138492ae99442e3f9bc9abfa2b1562fcc4d027fc Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Mon, 17 Feb 2025 18:18:35 -0600 Subject: [PATCH] Exclude /feed and template paths from middleware --- middleware.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/middleware.ts b/middleware.ts index a698bc39..e9c19c68 100644 --- a/middleware.ts +++ b/middleware.ts @@ -46,7 +46,12 @@ export const config = { // - /_next/image* // - /favicon.ico + /favicons/* // - /grid + // - /feed // - / (root) + // - /home-image + // - /template-image + // - /template-image-tight + // - /template-url // eslint-disable-next-line max-len - matcher: ['/((?!api$|api/auth|_next/static|_next/image|favicon.ico$|favicons/|grid$|$).*)'], + matcher: ['/((?!api$|api/auth|_next/static|_next/image|favicon.ico$|favicons/|grid$|feed$|home-image$|template-image$|template-image-tight$|template-url$|$).*)'], };