Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codeaashu/claude-code
/ getApiKey
Function
getApiKey
web/lib/api/client.ts:18–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
}
17
18
function
getApiKey(): string | undefined {
19
return
typeof process !==
"undefined"
20
? process.env.NEXT_PUBLIC_API_KEY
21
: undefined;
22
}
23
24
function
isAbortError(err: unknown): boolean {
25
return
(
Callers
1
constructor
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected