()
| 190 | if (!this.initialized || !this.db) { |
| 191 | await this.init(); |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | static async getProxyHost(): Promise<string> { |
| 196 | await this.ensureInitialized(); |
| 197 | if (!this.db) return DEFAULT_CONFIG[CONFIG_KEYS.PROXY_HOST]; |
| 198 | return this.db.data[CONFIG_KEYS.PROXY_HOST] || DEFAULT_CONFIG[CONFIG_KEYS.PROXY_HOST]; |
| 199 | } |
| 200 |
no test coverage detected