(path: string)
| 6 | |
| 7 | /** Build an absolute API URL from a path like "/runs/:id/stream". */ |
| 8 | export function apiUrl(path: string): string { |
| 9 | return `${BASE}/api${path.startsWith("/") ? path : `/${path}`}`; |
| 10 | } |
| 11 | |
| 12 | // ── Access token (in-memory; refresh token lives in an httpOnly cookie) ────── |
| 13 | let accessToken: string | null = null; |
no outgoing calls
no test coverage detected