Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CommandCodeAI/BaseAI
/ registerRoot
Function
registerRoot
packages/baseai/src/dev/routes/base.ts:1–8 ·
view source on GitHub ↗
(app: any)
Source
from the content-addressed store, hash-verified
1
export
const
registerRoot = (app: any) =>
2
app.get(
'/'
, (c: any) => {
3
return
c.json({
4
success: true,
5
message:
'BaseAI Local API'
,
6
link:
'https://langbase.com/docs'
7
});
8
});
Callers
1
runBaseServer
Function · 0.90
Calls
1
get
Method · 0.80
Tested by
no test coverage detected