fix(web): exclude /payload from i18n middleware + restore routes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -19,6 +19,6 @@ export const proxy = (request: NextRequest) =>
|
|||||||
});
|
});
|
||||||
|
|
||||||
export const config = {
|
export const config = {
|
||||||
matcher: "/((?!api|static|install|admin|.*\\..*|_next).*)",
|
matcher: "/((?!api|static|install|admin|payload|.*\\..*|_next).*)",
|
||||||
unstable_allowDynamic: ["**/node_modules/lodash*/**/*.js"],
|
unstable_allowDynamic: ["**/node_modules/lodash*/**/*.js"],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user