Skip to content

Commit

Permalink
hardcode envs
Browse files Browse the repository at this point in the history
  • Loading branch information
drspacemn committed Jul 7, 2023
1 parent 1018375 commit ee780b1
Showing 1 changed file with 32 additions and 6 deletions.
38 changes: 32 additions & 6 deletions packages/apps-config/src/endpoints/development.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
]
: [];
Expand Down

0 comments on commit ee780b1

Please sign in to comment.