MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / buildLocalServiceRouteArgs

Function buildLocalServiceRouteArgs

scripts/dev-static.mjs:325–333  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

323// the backends bind to `0.0.0.0`, which only accepts IPv4, but localhost can
324// resolve to ::1 first (notably on Windows).
325function buildLocalServiceRouteArgs(config) {
326 return buildRouteArgs(
327 getLocalServiceRoutes({
328 ...config,
329 launchAgentServer: true,
330 launchAutomation: true,
331 }),
332 );
333}
334
335function startAgentServer(config) {
336 logService(

Callers 3

dev-static.test.tsFile · 0.90
startStaticServerFunction · 0.85
startIngressFunction · 0.85

Calls 2

buildRouteArgsFunction · 0.90
getLocalServiceRoutesFunction · 0.90

Tested by

no test coverage detected