diff --git a/src/config/urls.js b/src/config/urls.js index 27e1489f..5c96efe8 100644 --- a/src/config/urls.js +++ b/src/config/urls.js @@ -38,5 +38,6 @@ export const urls = { }, // Currencies status - currenciesStatus: 'https://i-dont-know-which-url.ledger.com/currencies-status', + currenciesStatus: + 'https://s3-eu-west-1.amazonaws.com/ledger-ledgerlive-resources-prod/public_resources/currencies.json', } diff --git a/src/reducers/currenciesStatus.js b/src/reducers/currenciesStatus.js index 47211b28..8c1ec8a4 100644 --- a/src/reducers/currenciesStatus.js +++ b/src/reducers/currenciesStatus.js @@ -33,10 +33,9 @@ const handlers = { const setCurrenciesStatus = createAction('CURRENCIES_STATUS_SET') export const fetchCurrenciesStatus = () => async (dispatch: *) => { try { - const baseUrl = process.env.LL_STATUS_API || urls.currenciesStatus const { data } = await network({ method: 'GET', - url: `${baseUrl}/currencies-status`, + url: process.env.LL_STATUS_ENDPOINT || urls.currenciesStatus, }) dispatch(setCurrenciesStatus(data)) } catch (err) {