mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-25 00:55:30 +02: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*']
|
|
}; |