mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
ui: Correct date display chart. Various small fixes.
This commit is contained in:
@@ -1327,7 +1327,7 @@ async function fetchLatestPrices() {
|
||||
return cachedData.value;
|
||||
}
|
||||
|
||||
const url = 'https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,bitcoin-cash,dash,dogecoin,decred,litecoin,particl,pivx,monero,zano,wownero,zcoin&vs_currencies=USD,BTC';
|
||||
const url = `${config.apiEndpoints.coinGecko}/simple/price?ids=bitcoin,bitcoin-cash,dash,dogecoin,decred,litecoin,particl,pivx,monero,zano,wownero,zcoin&vs_currencies=USD,BTC&api_key=${config.apiKeys.coinGecko}`;
|
||||
|
||||
try {
|
||||
const data = await makePostRequest(url);
|
||||
|
||||
Reference in New Issue
Block a user