fix: update API_BASE_URL to use template literals and log the value

This commit is contained in:
Addison Waldow 2026-02-10 20:42:17 -07:00
parent 92adaa2c6f
commit aaea8c9ef9

View File

@ -131,7 +131,8 @@ interface McpToolDefinition {
export const SERVER_NAME = "${serverName}";
export const SERVER_VERSION = "${serverVersion}";
// Base URL for the API, can be set via environment variable or determined from OpenAPI spec
export const API_BASE_URL = process.env.API_BASE_URL || "${determinedBaseUrl || ''}";
export const API_BASE_URL = \`\$\{process.env.API_BASE_URL\}\` || "${determinedBaseUrl || ''}";
console.error("API_BASE_URL is set to:", API_BASE_URL);
/**
* MCP Server instance