diff --git a/server/routes.ts b/server/routes.ts index cb2392d..504996c 100644 --- a/server/routes.ts +++ b/server/routes.ts @@ -323,7 +323,7 @@ export async function registerRoutes(app: Express): Promise { try { // Check if the API is working by hitting the version endpoint - const response = await axios.get("https://apiv3.iucnredlist.org/api/v3/version", { + const response = await axios.get("https://apiv4.iucnredlist.org/api/v4/information/api_version", { headers: { "Authorization": `Bearer ${iucnToken}` }