This commit is contained in:
azizziy
2025-05-20 17:02:10 +05:00
commit c01e852a59
257 changed files with 27766 additions and 0 deletions

11
src/middleware.ts Normal file
View File

@@ -0,0 +1,11 @@
import { locales } from '@/helpers/constants';
import createMiddleware from 'next-intl/middleware';
export default createMiddleware({
locales: locales,
defaultLocale: 'en',
});
export const config = {
matcher: ['/', '/(en|ru|uz|cn)/:path*'],
};