We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b62d515 + 5772183 commit f48f411Copy full SHA for f48f411
1 file changed
src/index.ts
@@ -239,8 +239,9 @@ async function main() {
239
let html = fs.readFileSync(splashPath, 'utf8');
240
241
// Inject example server endpoints with copy buttons
242
+ const baseUrl = config.baseUri.replace(/\/$/, ''); // Remove trailing slash if present
243
const exampleServersHtml = AVAILABLE_EXAMPLES.map(slug => {
- const fullUrl = `${config.baseUri}/${slug}/mcp`;
244
+ const fullUrl = `${baseUrl}/${slug}/mcp`;
245
return `
246
<div class="endpoint endpoint-with-copy">
247
<div class="endpoint-info">
0 commit comments