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

Function getProxySettings

src/webui/observer/status.js:44–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44function getProxySettings() {
45 try {
46 const { readSettings, isStaleProxy } = require('../../proxy/server/settings');
47 const settings = readSettings();
48 const proxy = settings.proxy || null;
49 if (!proxy) return { running: false, url: null };
50 return {
51 running: !isStaleProxy(),
52 url: proxy.url || null,
53 pid: proxy.pid || null,
54 started_at: proxy.started_at || null,
55 };
56 } catch {
57 return { running: false, url: null };
58 }
59}
60
61function filesPresent(paths) {
62 return {

Callers 2

getInteractionsFunction · 0.85
getStatusFunction · 0.85

Calls 2

readSettingsFunction · 0.85
isStaleProxyFunction · 0.85

Tested by

no test coverage detected