Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
400
function
getIdeServerHost() {
401
const
isInContainer =
402
fs.existsSync(
'/.dockerenv'
) || fs.existsSync(
'/run/.containerenv'
);
403
return
isInContainer ?
'host.docker.internal'
:
'localhost'
;
404
}
Callers
1
establishConnection
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected