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*'],
};
