mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +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|.*\\..*).*)']
|
|
}
|