Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Acode-Foundation/Acode
/ error
Function
error
src/lib/run.js:363–368 ·
view source on GitHub ↗
* Sends 404 error * @param {string} id
(id)
Source
from the content-addressed store, hash-verified
361
* @param {string} id
362
*/
363
function
error(id) {
364
webServer?.send(id, {
365
status: 404,
366
body:
"File not found!"
,
367
});
368
}
369
370
/**
371
* Sends favicon
Callers
3
sendByExt
Function · 0.70
sendFile
Function · 0.70
sendFileContent
Function · 0.70
Calls
1
send
Method · 0.65
Tested by
no test coverage detected