refactor: move healthcheck to /health and exclude from i18n

This commit is contained in:
2026-01-13 15:27:05 +01:00
parent bf2d939efe
commit b28fadb684
4 changed files with 3 additions and 3 deletions

View File

@@ -27,6 +27,6 @@ export function middleware(request: NextRequest) {
export const config = {
matcher: [
// Skip all internal paths (_next)
"/((?!_next|api|public|manifest|icon|file|globe|next|vercel|window|push-sw.js|sw.js|workbox).*)",
"/((?!_next|api|public|manifest|icon|file|globe|next|vercel|window|push-sw.js|sw.js|workbox|health).*)",
],
};