MCPcopy Create free account
hub / github.com/EvoMap/evolver / _isProxyMode

Function _isProxyMode

src/atp/hubClient.js:22–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20const { getProxyUrl, getProxyToken } = require('../proxy/server/settings');
21
22function _isProxyMode() {
23 if (process.env.EVOMAP_PROXY === '1') return true;
24 if (process.env.A2A_TRANSPORT === 'mailbox') return true;
25 return false;
26}
27
28function _proxyRequest(method, path, body, timeoutMs) {
29 const proxyUrl = getProxyUrl();

Callers 2

_postFunction · 0.85
_getFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected