From 4fe5f4a4448ea2d7dffe8a082005be5a1dabd36a Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Thu, 20 Oct 2022 23:18:14 +0200 Subject: [PATCH] I finally got it!! --- next.config.js | 4 ---- pages/_document.tsx | 13 +++++++++++++ 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 pages/_document.tsx diff --git a/next.config.js b/next.config.js index 026df59..b42d202 100644 --- a/next.config.js +++ b/next.config.js @@ -4,10 +4,6 @@ module.exports = { images: { domains: ["openai-labs-public-images-prod.azureedge.net"] }, - i18n: { - locales: ["en"], - defaultLocale: "en", - }, webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => { config.module.rules.push({ test: /\.adoc$/i, diff --git a/pages/_document.tsx b/pages/_document.tsx new file mode 100644 index 0000000..a93963c --- /dev/null +++ b/pages/_document.tsx @@ -0,0 +1,13 @@ +import { Html, Head, Main, NextScript } from "next/document"; + +export default function Document() { + return ( + + + +
+ + + + ); +} \ No newline at end of file