Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codeaashu/claude-code
/ getApiUrl
Function
getApiUrl
web/lib/api.ts:3–4 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
import
type
{ Message } from
"./types"
;
2
3
const
getApiUrl = () =>
4
process.env.NEXT_PUBLIC_API_URL ??
"http://localhost:3001"
;
5
6
export
interface
StreamChunk {
7
type
:
"text"
|
"tool_use"
|
"tool_result"
|
"done"
|
"error"
;
Callers
1
fetchHealth
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected