diff --git a/next.config.js b/next.config.js index fda00ec..40acc6e 100644 --- a/next.config.js +++ b/next.config.js @@ -3,11 +3,10 @@ const CDN = process.env.NEXT_PUBLIC_CDN_URI : ''; module.exports = { - // TODO: uncomment these lines when next.js fixes this issue - https://github.com/vercel/next.js/issues/22329 - // i18n: { - // locales: ['pl'], - // defaultLocale: 'pl', - // }, + i18n: { + locales: ['pl'], + defaultLocale: 'pl', + }, images: { domains: CDN instanceof URL ? ['localhost', CDN.hostname] : ['localhost'], }, diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index 03b3191..9e0e442 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -33,8 +33,7 @@ export default class MyDocument extends Document { render() { return ( - // TODO: remove lang prop when next.js fixes this issue - https://github.com/vercel/next.js/issues/22329 - +