Merge pull request #22 from zdam-egzamin-zawodowy/uncomment-i18n-configuration
uncommenct i18n configuration
This commit is contained in:
commit
29e34829b2
|
@ -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'],
|
||||||
},
|
},
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in New Issue
Block a user