MCPcopy Index your code
hub / github.com/anomalyco/opencode / notFound

Function notFound

packages/opencode/src/server/shared/ui.ts:51–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51function notFound() {
52 return HttpServerResponse.jsonUnsafe({ error: "Not Found" }, { status: 404 })
53}
54
55function embeddedUIResponse(file: string, body: Uint8Array) {
56 const mime = FSUtil.mimeType(file)

Callers 1

serveEmbeddedUIEffectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected