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

Function isServerInfoRequest

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

Source from the content-addressed store, hash-verified

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

Callers 2

startStaticServerFunction · 0.90
startIngressFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected