From ccc21b1e6131627da445d50423db222888cfe587 Mon Sep 17 00:00:00 2001 From: Jerome Date: Fri, 4 Jul 2025 15:53:50 +0100 Subject: [PATCH] Update Vite config for root domain hosting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Set base path to '/' for modelcontextprotocol.github.io root domain - Remove conditional path logic for cleaner configuration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- vite.config.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index babf8ce..db91dc5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,9 +5,8 @@ import path from 'path' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], - // Set base to '/' for local testing, or to your repo name for GitHub Pages - // e.g., base: '/example-remote-client/' for https://username.github.io/example-remote-client/ - base: process.env.NODE_ENV === 'production' ? '/example-remote-client/' : '/', + // Set base to '/' for root domain hosting at modelcontextprotocol.github.io + base: '/', resolve: { alias: { '@': path.resolve(__dirname, './src'),