feat: add locale-detection middleware

This commit is contained in:
2026-08-10 15:32:38 +02:00
parent 0a75aba78b
commit 9ea9f4f5f1
+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|.*\\..*).*)',
],
}