Skip to content

Commit

Permalink
Build issue is still present, might need to adjust pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
majora2007 committed Nov 15, 2024
1 parent 8f6d4d2 commit c1176d2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion components/WikiLogo.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default function WikiLogo() {
return (
<div className="flex items-center space-x-2">
<img className="h-8" src="/favicon.ico" alt="Kavita" />
<img className="h-6" src="/favicon.ico" alt="Kavita" />
<h3 className="text-xl font-bold text-gray-850 dark:text-gray-200">Kavita</h3>
</div>
)
Expand Down
15 changes: 5 additions & 10 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@ const withNextra = nextra({
const isProduction = process.env.NODE_ENV === "production";
const assetPrefix = isProduction ? "/wiki" : "";

const nextConfig = {
reactStrictMode: true,
outputFileTracing: true,
swcMinify: true,
trailingSlash: true,
assetPrefix,
basePath: assetPrefix,
output: "export",
};

export default withNextra({
reactStrictMode: true,
trailingSlash: true,
assetPrefix,
basePath: assetPrefix,
output: "export",
images: {
unoptimized: true,
},
Expand Down
2 changes: 2 additions & 0 deletions pages/_app.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import '../globals.css'

export default function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
}

0 comments on commit c1176d2

Please sign in to comment.