()
| 17 | // We maintain a single session per page load and reinitialize if it expires. |
| 18 | |
| 19 | function getBaseUrl(): string { |
| 20 | return ( |
| 21 | (typeof process !== "undefined" && process.env.NEXT_PUBLIC_API_URL) || |
| 22 | "http://localhost:3001" |
| 23 | ); |
| 24 | } |
| 25 | |
| 26 | function getApiKey(): string | undefined { |
| 27 | return typeof process !== "undefined" |
no outgoing calls
no test coverage detected