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

Function isServerInfoRequest

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

Source from the content-addressed store, hash-verified

95}
96
97export function isServerInfoRequest(req) {
98 const pathname = new URL(req.url ?? "/", "http://localhost").pathname;
99 return pathname === SERVER_INFO_PATH;
100}
101
102export function proxyServerInfoRequest(
103 req,

Callers 2

startStaticServerFunction · 0.90
startIngressFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected