Exclude /feed and template paths from middleware
This commit is contained in:
parent
099c54da90
commit
138492ae99
@ -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$|$).*)'],
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user