mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-30 16:52:16 +00:00
feat: add i18n dependency to website workspace
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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*']
|
||||
};
|
||||
Reference in New Issue
Block a user