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

Function isServerInfoRequest

scripts/proxy-utils.mjs:65–68  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

63}
64
65export function isServerInfoRequest(req) {
66 const pathname = new URL(req.url ?? "/", "http://localhost").pathname;
67 return pathname === SERVER_INFO_PATH;
68}
69
70export function proxyServerInfoRequest(
71 req,

Callers 2

startStaticServerFunction · 0.90
startIngressFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected