fix: rename middleware.ts to proxy.ts

The middleware file convention is deprecated in this Next.js version in favor of proxy.
This commit is contained in:
2026-08-11 09:38:42 +02:00
parent 9e2423ed76
commit 74fca57f4c
+10
View File
@@ -0,0 +1,10 @@
import createMiddleware from 'next-intl/middleware'
import { routing } from './i18n/routing'
export default createMiddleware(routing)
export const config = {
matcher: [
'/((?!api|_next|_vercel|.*\\..*).*)',
],
}