mirror of
https://github.com/logos-co/logos-web.git
synced 2026-08-27 20:21:08 +00:00
14 lines
338 B
TypeScript
14 lines
338 B
TypeScript
import createMiddleware from 'next-intl/middleware'
|
|
|
|
import { routing } from './i18n/routing'
|
|
|
|
const handleI18nRouting = createMiddleware(routing)
|
|
|
|
export default function proxy(request: import('next/server').NextRequest) {
|
|
return handleI18nRouting(request)
|
|
}
|
|
|
|
export const config = {
|
|
matcher: '/((?!api|_next|_vercel|.*\\..*).*)',
|
|
}
|