mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
9 lines
250 B
TypeScript
9 lines
250 B
TypeScript
import createMiddleware from 'next-intl/middleware';
|
|
import {routing} from './i18n/routing';
|
|
|
|
export default createMiddleware(routing);
|
|
|
|
export const config = {
|
|
// Match only internationalized pathnames
|
|
matcher: ['/', '/(zh-Hans|en)/:path*']
|
|
}; |