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 // src: atomicexplorer
export function shepherdGetRemoteBTCFees() { export function shepherdGetRemoteBTCFees() {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
fetch(`http://atomicexplorer.com/api/btc/fees`, { fetch(`https://atomicexplorer.com/api/btc/fees`, {
method: 'GET', method: 'GET',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',

4
react/src/actions/actions/prices.js

@ -4,7 +4,7 @@ import Config from '../../config';
function fiatRates(pricesJson) { function fiatRates(pricesJson) {
return dispatch => { return dispatch => {
return fetch(`http://atomicexplorer.com/api/rates/kmd`, { return fetch(`https://atomicexplorer.com/api/rates/kmd`, {
method: 'GET', method: 'GET',
}) })
.catch((error) => { .catch((error) => {
@ -29,7 +29,7 @@ function fiatRates(pricesJson) {
export function prices() { export function prices() {
return dispatch => { return dispatch => {
return fetch(`http://atomicexplorer.com/api/mm/prices`, { return fetch(`https://atomicexplorer.com/api/mm/prices`, {
method: 'GET', method: 'GET',
}) })
.catch((error) => { .catch((error) => {

Loading…
Cancel
Save