mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-16 17:59:49 +00:00
refactor i18n to be server side
This commit is contained in:
parent
3ae4113043
commit
8bc240b934
44 changed files with 258 additions and 122 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue