Skip to content

Commit

Permalink
fix: lang
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud AMBROSELLI committed Dec 7, 2023
1 parent 50754ef commit 0f8bcbb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
7 changes: 1 addition & 6 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
i18n: {
locales: ["fr"],
defaultLocale: "fr",
},
}
const nextConfig = {}

module.exports = nextConfig
13 changes: 13 additions & 0 deletions pages/_document.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Html, Head, Main, NextScript } from "next/document"

export default function Document() {
return (
<Html lang="fr">
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
)
}

0 comments on commit 0f8bcbb

Please sign in to comment.