fix ff api url issue (#289)

This commit is contained in:
Keith Ingram authored and GitHub committed 2020-03-09 08:24:45 +01:00
1 parent 9fce0e2d51
commit 5e86263fe3
1 file changed
+1 -1
+1 -1
View File
@@ -38,7 +38,7 @@ export class Settings implements SettingsStruct {
this.#emitter = new EventEmitter();
this.#apiUrl = settings.apiUrl || process.env.WS_URL || ENDPOINT_DEFAULT;
this.#apiUrl = (typeof settings.apiUrl === 'string' && settings.apiUrl) || process.env.WS_URL || ENDPOINT_DEFAULT;
this.#camera = settings.camera || CAMERA_DEFAULT;
this.#ledgerConn = settings.ledgerConn || LEDGER_CONN_DEFAULT;
this.#i18nLang = settings.i18nLang || LANGUAGE_DEFAULT;