From ee780b1def368a10b885748a5cd79c2834d1ee11 Mon Sep 17 00:00:00 2001 From: Ben Goebel Date: Fri, 7 Jul 2023 12:58:37 -0600 Subject: [PATCH] hardcode envs --- .../apps-config/src/endpoints/development.ts | 38 ++++++++++++++++--- 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/packages/apps-config/src/endpoints/development.ts b/packages/apps-config/src/endpoints/development.ts index cb650eb574be..f44c2b42dc0b 100644 --- a/packages/apps-config/src/endpoints/development.ts +++ b/packages/apps-config/src/endpoints/development.ts @@ -25,17 +25,43 @@ export function createCustom (t: TFunction): LinkOption[] { ? [ { isHeader: true, - text: t('rpc.dev.custom', 'Custom environment', { ns: 'apps-config' }), + text: t('rpc.dev.custom', 'Sharingan', { ns: 'apps-config' }), textBy: '', - ui: {}, + ui: { + color: '#000000', + logo: nodesMadaraPNG + }, value: '' }, { info: 'WS_URL', - text: t('rpc.dev.custom.entry', 'Custom {{WS_URL}}', { ns: 'apps-config', replace: { WS_URL } }), - textBy: WS_URL, - ui: {}, - value: WS_URL + text: t('rpc.dev.custom.entry', 'sharingan env', { ns: 'apps-config', replace: { WS_URL } }), + textBy: 'wss://sharingan.madara.zone', + ui: { + color: '#000000', + logo: nodesMadaraPNG + }, + value: 'wss://sharingan.madara.zone' + }, + { + isHeader: true, + text: t('rpc.dev.custom', 'Rinnegan', { ns: 'apps-config' }), + textBy: '', + ui: { + color: '#000000', + logo: nodesMadaraPNG + }, + value: '' + }, + { + info: 'WS_URL', + text: t('rpc.dev.custom.entry', 'rinnegan env', { ns: 'apps-config', replace: { WS_URL } }), + textBy: 'wss://rinnegan.madara.zone', + ui: { + color: '#900000', + logo: nodesMadaraPNG + }, + value: 'wss://rinnegan.madara.zone' } ] : [];