diff --git a/next.config.js b/next.config.js index 46af0c4..5af2736 100644 --- a/next.config.js +++ b/next.config.js @@ -1,8 +1,5 @@ module.exports = { reactStrictMode: true, - env: { - PUBLIC_URL: "", - }, async rewrites() { return [ { diff --git a/pages/_document.tsx b/pages/_document.tsx index ec90d77..4848421 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -11,19 +11,19 @@ class MyDocument extends Document { rel="icon" type="image/png" sizes="32x32" - href={`${process.env.PUBLIC_URL}/favicon-32x32.png`} + href="/favicon-32x32.png" />