mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-25 09:25:56 +00:00
@@ -16,9 +16,7 @@ class Settings implements SettingsStruct {
|
||||
constructor () {
|
||||
const settings = store.get('settings') || {};
|
||||
|
||||
// FIXME Here we have the defaults for Charred Cherry, swap to Polkadot as soon as poc-3 is there
|
||||
// FIXME WS_URL first, then substrate-rpc
|
||||
this._apiUrl = settings.apiUrl || ENDPOINTS[0].value || process.env.WS_URL;
|
||||
this._apiUrl = settings.apiUrl || process.env.WS_URL || ENDPOINTS[0].value;
|
||||
this._i18nLang = settings.i18nLang || LANGUAGES[0].value;
|
||||
this._uiMode = settings.uiMode || process.env.UI_MODE || UIMODES[0].value;
|
||||
this._uiTheme = settings.uiTheme || process.env.UI_THEME || UITHEMES[0].value;
|
||||
|
||||
Reference in New Issue
Block a user