idena-network / idena-web

https://app.idena.io
MIT License
25 stars 18 forks source link

Allow for BASE_NODE_URL to be taken from env #413

Open 0xMimir opened 1 year ago

0xMimir commented 1 year ago

Currently in shared/api/api-client.js BASE_NODE_URL is hardcoded in following line

export const BASE_NODE_URL = 'http://localhost:9009'

This doesn't allow for idena web to be runned with preset idena node, for example node running on different address or using different port, I know that url can be changed in UI, but it would still be nice if it could be preset