()
| 9 | // --------------------------------------------------------------------------- |
| 10 | |
| 11 | function getBaseUrl(): string { |
| 12 | return ( |
| 13 | (typeof process !== "undefined" && process.env.NEXT_PUBLIC_API_URL) || |
| 14 | "http://localhost:3001" |
| 15 | ); |
| 16 | } |
| 17 | |
| 18 | function getApiKey(): string | undefined { |
| 19 | return typeof process !== "undefined" |