fix(web): exclude /payload from i18n middleware + restore routes
Some checks failed
CI / Lint (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Broker tests (Postgres) (push) Has been cancelled
CI / Docker build (linux/amd64) (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-04-06 02:11:49 +01:00
parent 9653171b78
commit 2cdcdccbc9

View File

@@ -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"],
}; };