refactor: move healthcheck to /health and exclude from i18n
This commit is contained in:
@@ -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).*)",
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user