From e3a8bb2b5b48dcd3f26a9e21a1cacc18dfdb3283 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Sun, 11 Mar 2018 12:47:36 +0300 Subject: [PATCH] atomicexplorer actions http -> https --- react/src/actions/actions/electrum.js | 2 +- react/src/actions/actions/prices.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/react/src/actions/actions/electrum.js b/react/src/actions/actions/electrum.js index 4f08e8b..b442089 100644 --- a/react/src/actions/actions/electrum.js +++ b/react/src/actions/actions/electrum.js @@ -14,7 +14,7 @@ import Store from '../../store'; // src: atomicexplorer export function shepherdGetRemoteBTCFees() { return new Promise((resolve, reject) => { - fetch(`http://atomicexplorer.com/api/btc/fees`, { + fetch(`https://atomicexplorer.com/api/btc/fees`, { method: 'GET', headers: { 'Content-Type': 'application/json', diff --git a/react/src/actions/actions/prices.js b/react/src/actions/actions/prices.js index 177f58a..48e8d21 100644 --- a/react/src/actions/actions/prices.js +++ b/react/src/actions/actions/prices.js @@ -4,7 +4,7 @@ import Config from '../../config'; function fiatRates(pricesJson) { return dispatch => { - return fetch(`http://atomicexplorer.com/api/rates/kmd`, { + return fetch(`https://atomicexplorer.com/api/rates/kmd`, { method: 'GET', }) .catch((error) => { @@ -29,7 +29,7 @@ function fiatRates(pricesJson) { export function prices() { return dispatch => { - return fetch(`http://atomicexplorer.com/api/mm/prices`, { + return fetch(`https://atomicexplorer.com/api/mm/prices`, { method: 'GET', }) .catch((error) => {