Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 `
<div class="endpoint endpoint-with-copy">
<div class="endpoint-info">
Expand Down