(host: string)
| 6 | * @param options command options. |
| 7 | */ |
| 8 | export function realtimeOriginOrEmulatorOrCustomUrl(host: string): string { |
| 9 | return envOverride( |
| 10 | Constants.FIREBASE_DATABASE_EMULATOR_HOST, |
| 11 | envOverride("FIREBASE_REALTIME_URL", host), |
| 12 | addHttpIfRequired, |
| 13 | ); |
| 14 | } |
| 15 | |
| 16 | /** |
| 17 | * Get base URL for RealtimeDatabase. Preference order: realtime URL env override, and then the specified host. |
no test coverage detected
searching dependent graphs…