Skip to content

Commit

Permalink
Merge pull request #8 from keep-starknet-strange/feat/hardcode-envs
Browse files Browse the repository at this point in the history
feat: hardcode envs
  • Loading branch information
drspacemn authored Jul 7, 2023
2 parents 1018375 + ee780b1 commit 76da902
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 76da902

Please sign in to comment.