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

Function rejectUnavailable

scripts/static-server.mjs:546–549  ·  view source on GitHub ↗
(res)

Source from the content-addressed store, hash-verified

544}
545
546function rejectUnavailable(res) {
547 res.writeHead(503, { "Content-Type": "text/plain; charset=utf-8" });
548 res.end("Service Unavailable (no backend configured for this route)");
549}
550
551function notFound(res) {
552 res.writeHead(404, { "Content-Type": "text/plain; charset=utf-8" });

Callers 1

handleStaticFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected