remove unused i18n request config

This commit is contained in:
leander committed 2026-10-30 22:10:42 +01:00
1 parent aca584791e
commit b84781ebe5
1 file changed
-13
-13
View File
@@ -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",
}
})