MCPcopy Create free account
hub / github.com/backnotprop/plannotator / getServerHostname

Function getServerHostname

packages/server/remote.ts:72–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 * container or host network interface for SSH/devcontainer/Docker forwarding.
71 */
72export function getServerHostname(): string {
73 return isRemoteSession() ? "0.0.0.0" : LOOPBACK_HOST;
74}

Callers 5

startPlannotatorServerFunction · 0.90
remote.test.tsFile · 0.90
startGoalSetupServerFunction · 0.90
startReviewServerFunction · 0.90
startAnnotateServerFunction · 0.90

Calls 1

isRemoteSessionFunction · 0.70

Tested by

no test coverage detected