I finally got it!!
This commit is contained in:
parent
5a8df80c36
commit
4fe5f4a444
@ -4,10 +4,6 @@ module.exports = {
|
|||||||
images: {
|
images: {
|
||||||
domains: ["openai-labs-public-images-prod.azureedge.net"]
|
domains: ["openai-labs-public-images-prod.azureedge.net"]
|
||||||
},
|
},
|
||||||
i18n: {
|
|
||||||
locales: ["en"],
|
|
||||||
defaultLocale: "en",
|
|
||||||
},
|
|
||||||
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
|
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
|
||||||
config.module.rules.push({
|
config.module.rules.push({
|
||||||
test: /\.adoc$/i,
|
test: /\.adoc$/i,
|
||||||
|
13
pages/_document.tsx
Normal file
13
pages/_document.tsx
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
import { Html, Head, Main, NextScript } from "next/document";
|
||||||
|
|
||||||
|
export default function Document() {
|
||||||
|
return (
|
||||||
|
<Html lang="en">
|
||||||
|
<Head />
|
||||||
|
<body>
|
||||||
|
<Main />
|
||||||
|
<NextScript />
|
||||||
|
</body>
|
||||||
|
</Html>
|
||||||
|
);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user