Browse Source

atomicexplorer actions http -> https

v0.25
pbca26 7 years ago
parent
commit
e3a8bb2b5b
  1. 2
      react/src/actions/actions/electrum.js
  2. 4
      react/src/actions/actions/prices.js

2
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',

4
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) => {

Loading…
Cancel
Save