Skip to content

Context7 Platform -- Up-to-date docs for AI agents

fix: update API base URL from localhost to production endpoint

enesgules75f5cbe1dcd9
diff --git a/src/lib/api.ts b/src/lib/api.ts
index a35e7c6c..57a1f7cc 100644
--- a/src/lib/api.ts
+++ b/src/lib/api.ts
@@ -1,7 +1,7 @@
import { SearchResponse } from "./types.js";
import { generateHeaders } from "./encryption.js";
-const CONTEXT7_API_BASE_URL = "http://localhost:3000/api";
+const CONTEXT7_API_BASE_URL = "https://context7.com/api";
const DEFAULT_TYPE = "txt";
/**