From 959afa4dda5a8ec0debd71cc5a1c17c8297ea75f Mon Sep 17 00:00:00 2001 From: Addison Waldow Date: Tue, 10 Feb 2026 20:47:16 -0700 Subject: [PATCH] fix: update API_BASE_URL to remove template literals and log the value --- src/generator/server-code.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generator/server-code.ts b/src/generator/server-code.ts index f5209ce..a4a39fe 100644 --- a/src/generator/server-code.ts +++ b/src/generator/server-code.ts @@ -131,7 +131,7 @@ 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); /**