diff --git a/src/index.ts b/src/index.ts index 7c0a90c..67b950c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -239,8 +239,9 @@ async function main() { let html = fs.readFileSync(splashPath, 'utf8'); // Inject example server endpoints with copy buttons + const baseUrl = config.baseUri.replace(/\/$/, ''); // Remove trailing slash if present const exampleServersHtml = AVAILABLE_EXAMPLES.map(slug => { - const fullUrl = `${config.baseUri}/${slug}/mcp`; + const fullUrl = `${baseUrl}/${slug}/mcp`; return `