MCPcopy Create free account
hub / github.com/anus-dev/ANUS / getIdeServerHost

Function getIdeServerHost

packages/core/src/ide/ide-client.ts:400–404  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

398}
399
400function getIdeServerHost() {
401 const isInContainer =
402 fs.existsSync('/.dockerenv') || fs.existsSync('/run/.containerenv');
403 return isInContainer ? 'host.docker.internal' : 'localhost';
404}

Callers 1

establishConnectionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected