Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agent-tower/core
/ elapsed
Function
elapsed
packages/server/src/app.ts:87–87 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
85
});
86
87
// SPA fallback:非 API/socket 路由返回 index.html
88
app.setNotFoundHandler((req, reply) => {
89
if
(req.url.startsWith(
'/api'
) || req.url.startsWith(
'/socket.io'
)) {
90
return
reply.code(404).send({ error:
'Not Found'
});
Callers
1
buildApp
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected