From 93bfc039f9a4dbd5acfe5c6be03e87ca89dd0e08 Mon Sep 17 00:00:00 2001 From: GodD6366 Date: Mon, 17 Oct 2022 15:03:35 +0000 Subject: [PATCH] fix: Fix the problem that favicon does not work --- src/pages/_document.jsx | 3 --- src/pages/index.jsx | 12 ++++++++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/pages/_document.jsx b/src/pages/_document.jsx index 5f9e06fbc..61f696567 100644 --- a/src/pages/_document.jsx +++ b/src/pages/_document.jsx @@ -10,9 +10,6 @@ export default function Document() { /> - - - diff --git a/src/pages/index.jsx b/src/pages/index.jsx index b4eb50e18..830f8e7b0 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -194,9 +194,17 @@ function Home({ initialSettings }) { {initialSettings.title || "Homepage"} {initialSettings.base && } {initialSettings.favicon ? ( - + <> + + + ) : ( - + <> + + + + + )}