mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-18 11:12:56 +00:00
10 lines
270 B
TypeScript
10 lines
270 B
TypeScript
import createMiddleware from 'next-intl/middleware'
|
|
import { routing } from './i18n/routing'
|
|
|
|
export default createMiddleware(routing, { localeDetection: false })
|
|
|
|
export const config = {
|
|
// Match only internationalized pathnames
|
|
matcher: ['/((?!_next|.*\\..*).*)']
|
|
}
|