translation bug fixed
This commit is contained in:
10
middlewere.ts
Normal file
10
middlewere.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import createMiddleware from 'next-intl/middleware';
|
||||
|
||||
export default createMiddleware({
|
||||
locales: ['uz', 'ru'],
|
||||
defaultLocale: 'uz'
|
||||
});
|
||||
|
||||
export const config = {
|
||||
matcher: ['/','/(de|en)/:path*']
|
||||
};
|
||||
Reference in New Issue
Block a user