mirror of
https://github.com/UiO-Gaming/uiogaming.no.git
synced 2026-11-05 13:56:47 +01:00
remove unused i18n request config
This commit is contained in:
1 parent
aca584791e
commit
b84781ebe5
1 file changed
-13
@@ -1,13 +0,0 @@
|
|||||||
import { getRequestConfig } from "next-intl/server"
|
|
||||||
import { cookies } from "next/headers"
|
|
||||||
|
|
||||||
export default getRequestConfig(async () => {
|
|
||||||
const cookieStore = await cookies()
|
|
||||||
const locale = cookieStore.get("locale")?.value || "no"
|
|
||||||
|
|
||||||
return {
|
|
||||||
locale,
|
|
||||||
messages: (await import(`../../messages/${locale}.json`)).default,
|
|
||||||
timeZone: "Europe/Oslo",
|
|
||||||
}
|
|
||||||
})
|
|
||||||
Reference in new issue
Block a user