Skip to content

Commit 0cdeb83

Browse files
committed
Fix GitHub Pages base path casing
1 parent e69c367 commit 0cdeb83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ const useProjectBase = process.env.GITHUB_ACTIONS === 'true' && repositoryName
66

77
export default defineConfig({
88
plugins: [react()],
9-
base: useProjectBase ? `/${repositoryName.toLowerCase()}/` : '/',
9+
// GitHub Pages project paths are case-sensitive and must match the repo name.
10+
base: useProjectBase ? `/${repositoryName}/` : '/',
1011
})

0 commit comments

Comments
 (0)