MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / restoreGlobalFetchPatch

Function restoreGlobalFetchPatch

src/utils/networkProxy.ts:59–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59function restoreGlobalFetchPatch(): void {
60 if (!fetchPatched) {
61 return
62 }
63
64 if (originalFetch) {
65 globalThis.fetch = originalFetch
66 }
67
68 fetchPatched = false
69 originalFetch = undefined
70}
71
72function restoreTlsVerificationOverride(): void {
73 if (!tlsVerificationOverridden) {

Callers 2

initializeNetworkProxyFunction · 0.85
configureUndiciProxyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected