consolidate server URL configuration
This commit is contained in:
parent
a3d542c0a3
commit
f876b1ec0d
1 changed files with 19 additions and 18 deletions
|
|
@ -61,7 +61,7 @@ async function main() {
|
|||
|
||||
// Make sure our server/client didn't immediately fail
|
||||
await Promise.any([server, client, delay(2 * 1000)]);
|
||||
const portParam = SERVER_PORT === "3000" ? "" : `?port=${SERVER_PORT}`;
|
||||
const portParam = SERVER_PORT === "3000" ? "" : `?proxyPort=${SERVER_PORT}`;
|
||||
console.log(
|
||||
`\n🔍 MCP Inspector is up and running at http://localhost:${CLIENT_PORT}${portParam} 🚀`,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue