Skip to content

Commit ce9bc4d

Browse files
mertguvencliclaude
andcommitted
fix: remove basePath for custom domain compatibility
basePath was set to "/markbloom" for GitHub Pages subdirectory hosting, but it breaks asset loading when using a custom domain (root-served). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ebd2b24 commit ce9bc4d

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

next.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import type { NextConfig } from "next";
22

3-
const isProd = process.env.NODE_ENV === "production";
4-
53
const nextConfig: NextConfig = {
64
output: "export",
7-
basePath: isProd ? "/markbloom" : "",
85
images: {
96
unoptimized: true,
107
},

0 commit comments

Comments
 (0)