Remove 'en' locale from i18n routing config
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { defineRouting } from 'next-intl/routing';
|
import { defineRouting } from 'next-intl/routing';
|
||||||
|
|
||||||
export const routing = defineRouting({
|
export const routing = defineRouting({
|
||||||
locales: ['en', 'sr'],
|
locales: ['sr'],
|
||||||
defaultLocale: 'sr'
|
defaultLocale: 'sr'
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import createMiddleware from "next-intl/middleware";
|
|||||||
import { defineRouting } from 'next-intl/routing';
|
import { defineRouting } from 'next-intl/routing';
|
||||||
|
|
||||||
const routing = defineRouting({
|
const routing = defineRouting({
|
||||||
locales: ['en', 'sr'],
|
locales: ['sr'],
|
||||||
defaultLocale: 'sr'
|
defaultLocale: 'sr'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user