MCPcopy 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

1import type { Message } from "./types";
2
3const getApiUrl = () =>
4 process.env.NEXT_PUBLIC_API_URL ?? "http://localhost:3001";
5
6export interface StreamChunk {
7 type: "text" | "tool_use" | "tool_result" | "done" | "error";

Callers 1

fetchHealthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected