File tree Expand file tree Collapse file tree 3 files changed +2
-13
lines changed
Expand file tree Collapse file tree 3 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export default function HomePage() {
77 < main className = "flex flex-1 flex-col items-center justify-center py-20 text-center px-4" >
88 < div className = "mb-10 flex flex-col items-center gap-y-6" >
99 < Image
10- src = { ` ${ process . env . assetPrefix } / logo.png` }
10+ src = { " logo.png" }
1111 alt = "UserClouds Logo"
1212 width = { 240 }
1313 height = { 33 }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export const baseOptions: BaseLayoutProps = {
1414 title : (
1515 < >
1616 < Image
17- src = { ` ${ process . env . assetPrefix } / logo.png` }
17+ src = { " logo.png" }
1818 width = { 160 }
1919 height = { 22 }
2020 alt = "UserClouds logo"
Original file line number Diff line number Diff line change 11import { createMDX } from "fumadocs-mdx/next" ;
22const withMDX = createMDX ( ) ;
33
4- const isProduction = process . env . NODE_ENV === "production" ;
5-
6- let assetPrefix = isProduction ? "./" : "" ;
7- let basePath = "" ;
8-
94/** @type {import('next').NextConfig } */
105const config = {
116 reactStrictMode : true ,
127 output : "export" ,
13- assetPrefix,
14- basePath,
15- env : {
16- assetPrefix,
17- basePath,
18- } ,
198 trailingSlash : true ,
209 images : {
2110 unoptimized : true ,
You can’t perform that action at this time.
0 commit comments