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

Function buildLocalServiceRouteArgs

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

Source from the content-addressed store, hash-verified

302// the backends bind to `0.0.0.0`, which only accepts IPv4, but localhost can
303// resolve to ::1 first (notably on Windows).
304function buildLocalServiceRouteArgs(config) {
305 return buildRouteArgs(
306 getLocalServiceRoutes({
307 ...config,
308 launchAgentServer: true,
309 launchAutomation: true,
310 }),
311 );
312}
313
314function startAgentServer(config) {
315 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