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