MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / redact

Function redact

src/utils/proxy-fetch.ts:55–58  ·  view source on GitHub ↗
(url: string | undefined)

Source from the content-addressed store, hash-verified

53}
54
55function redact(url: string | undefined): string | undefined {
56 if (!url) return url;
57 try { const u = new URL(url); if (u.password) u.password = '***'; return u.toString(); } catch { return url; }
58}
59
60function shouldBypass(hostname: string, noProxy: string[]): boolean {
61 if (noProxy.length === 0) return false;

Callers 1

readConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected