Merge pull request #22 from zdam-egzamin-zawodowy/uncomment-i18n-configuration

uncommenct i18n configuration
This commit is contained in:
Dawid Wysokiński 2021-08-07 11:40:41 +02:00 committed by GitHub
commit 29e34829b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 7 deletions

View File

@ -3,11 +3,10 @@ const CDN = process.env.NEXT_PUBLIC_CDN_URI
: ''; : '';
module.exports = { module.exports = {
// TODO: uncomment these lines when next.js fixes this issue - https://github.com/vercel/next.js/issues/22329 i18n: {
// i18n: { locales: ['pl'],
// locales: ['pl'], defaultLocale: 'pl',
// defaultLocale: 'pl', },
// },
images: { images: {
domains: CDN instanceof URL ? ['localhost', CDN.hostname] : ['localhost'], domains: CDN instanceof URL ? ['localhost', CDN.hostname] : ['localhost'],
}, },

View File

@ -33,8 +33,7 @@ export default class MyDocument extends Document {
render() { render() {
return ( return (
// TODO: remove lang prop when next.js fixes this issue - https://github.com/vercel/next.js/issues/22329 <Html>
<Html lang="pl">
<Head> <Head>
<script <script
async async