From dfac5830ddec207cc20d514d423f91dda483d251 Mon Sep 17 00:00:00 2001 From: Stefan Rinke Date: Thu, 24 Jul 2025 09:50:44 +0200 Subject: [PATCH] API URL OVERRIDE --- src/tools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools.ts b/src/tools.ts index 98e67f2..9773678 100644 --- a/src/tools.ts +++ b/src/tools.ts @@ -26,7 +26,7 @@ export type EnvironmentResponse = components["schemas"]["EnvironmentResponse"]; export type ErrorResponse = components["schemas"]["ZodResponse"] | undefined; -const BASE_URL = "https://app.octomind.dev/api"; +const BASE_URL = process.env.OCTOMIND_API_URL || "https://app.octomind.dev/api"; const client = createClient({ baseUrl: BASE_URL });