Exclude /feed and template paths from middleware

This commit is contained in:
Sam Becker 2025-02-17 18:18:35 -06:00
parent 099c54da90
commit 138492ae99

View File

@ -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$|$).*)'],
};