Skip to content

Commit 33b12ff

Browse files
committed
fix: exclude 'schema' from middleware matcher in app directory
1 parent b3f82ab commit 33b12ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/website/src/middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ export const middleware = multipleMiddlewares([
1414
// applies this middleware only to files in the app directory
1515
export const config = {
1616
matcher:
17-
'/((?!api|static|assets|robots|sitemap|sw|service-worker|manifest|.*\\..*|_next).*)',
17+
'/((?!api|static|assets|robots|sitemap|schema|sw|service-worker|manifest|.*\\..*|_next).*)',
1818
};

0 commit comments

Comments
 (0)