Skip to content

Commit 73b4c1d

Browse files
committed
fix: remove URL basename for gh pages
1 parent 6d0e066 commit 73b4c1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

react-router.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Config } from '@react-router/dev/config';
22

33
export default {
44
ssr: false,
5-
basename: '/mcp-registry/',
5+
// basename: '/mcp-registry/',
66
// https://reactrouter.com/start/framework/rendering#static-pre-rendering
77
async prerender() {
88
return ['/'];

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ import tsconfigPaths from 'vite-tsconfig-paths';
55

66
export default defineConfig({
77
plugins: [tailwindcss(), reactRouter(), tsconfigPaths()],
8-
base: '/mcp-registry/',
8+
// base: '/mcp-registry/',
99
});

0 commit comments

Comments
 (0)