Context7 Platform -- Up-to-date docs for AI agents
formatting and linting
Thomas503c0da52beb
diff --git a/README.md b/README.mdindex 01e785c6..93f53fe1 100644--- a/README.md+++ b/README.md@@ -45,7 +45,7 @@ No tab-switching, no hallucinated APIs that don't exist, no outdated code generaGo to: `Settings` -> `Cursor Settings` -> `MCP` -> `Add new global MCP server`-Paste this into your Cursor `~/.cursor/mcp.json` file. See [Cursor MCP docs](https://docs.cursor.com/context/model-context-protocol) for more info.+Paste this into your Cursor `~/.cursor/mcp.json` file. See [Cursor MCP docs](https://docs.cursor.com/context/model-context-protocol) for more info.```json{diff --git a/src/lib/api.ts b/src/lib/api.tsindex ddda0115..5d63b0fc 100644--- a/src/lib/api.ts+++ b/src/lib/api.ts@@ -47,9 +47,9 @@ export async function fetchLibraryDocumentation(folders = foldersParam;}const contextURL = new URL(`${CONTEXT7_BASE_URL}/${basePath}/llms.txt`);- if (folders) contextURL.set('folders', folders)- if (tokens) contextURL.set('tokens', tokens)- if (topic) contextURL.set('topic', topic)+ if (folders) contextURL.set("folders", folders);+ if (tokens) contextURL.set("tokens", tokens);+ if (topic) contextURL.set("topic", topic);const response = await fetch(contextURL);if (!response.ok) {