ss-mcp-proxy 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.mjs +1 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const PROXY_BASE = "http://shadcn-registry-mirror.vercel.app/api/mcp-proxy";
3
+ const PROXY_BASE = "https://shadcn-registry-mirror.vercel.app/api/mcp-proxy";
4
4
 
5
5
  const ORIGINAL_HOST = "shadcnstudio.com";
6
6
  const _fetch = globalThis.fetch;
@@ -12,8 +12,6 @@ globalThis.fetch = async function (input, init) {
12
12
  return _fetch(input, init);
13
13
  }
14
14
 
15
- // Strip leading /api from path so PROXY_BASE + path is correct
16
- // e.g. /api/mcp/instructions → /mcp/instructions → PROXY_BASE + /mcp/instructions
17
15
  const path = url.pathname.startsWith("/api/")
18
16
  ? url.pathname.slice(4)
19
17
  : url.pathname;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ss-mcp-proxy",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "description": "shadcn-studio MCP proxy wrapper",
6
6
  "license": "MIT",