From cc12b7cfc7905c7ae22e80e836d846832495dc89 Mon Sep 17 00:00:00 2001 From: Magnus-SmariSma <20734986-Magnus-SmariSma@users.noreply.replit.com> Date: Thu, 20 Mar 2025 22:43:55 +0000 Subject: [PATCH] Improve CITES+ API call by using simpler version endpoint. Replit-Commit-Author: Agent Replit-Commit-Session-Id: e931b5ab-041b-42e7-baf1-50017869cef6 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/e19c6a51-7e4c-4bb8-a6a6-46dc00f0ec99/ffad2270-7783-436e-8743-22cf48d6f9dc.jpg --- server/routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes.ts b/server/routes.ts index 5b4a2aa..10aa8da 100644 --- a/server/routes.ts +++ b/server/routes.ts @@ -275,7 +275,7 @@ export async function registerRoutes(app: Express): Promise { }); } - // Use the version endpoint which is the simplest endpoint + // Use the version endpoint which is the simplest endpoint and doesn't rely on long URLs try { const response = await axios.get(`${IUCN_BASE_URL}/version`, { params: { token: apiKey }