refactor i18n to be server side

This commit is contained in:
Ben Phelps 2022-09-25 19:43:00 +03:00
parent 3ae4113043
commit 8bc240b934
44 changed files with 258 additions and 122 deletions

View file

@ -1,3 +1,5 @@
const { i18n } = require("./next-i18next.config");
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
@ -7,6 +9,7 @@ const nextConfig = {
domains: ["cdn.jsdelivr.net"],
unoptimized: true,
},
i18n,
};
module.exports = nextConfig;