update connection string
This commit is contained in:
parent
67788d8ca3
commit
db463188a8
2 changed files with 6 additions and 4 deletions
6
dist/bundle.js
vendored
6
dist/bundle.js
vendored
|
@ -1199,7 +1199,7 @@ var Lbryio = {
|
||||||
authenticationPromise: null,
|
authenticationPromise: null,
|
||||||
exchangePromise: null,
|
exchangePromise: null,
|
||||||
exchangeLastFetched: null,
|
exchangeLastFetched: null,
|
||||||
CONNECTION_STRING: 'https://api.testnet.lbry.tech/'
|
CONNECTION_STRING: 'https://api.lbry.com/'
|
||||||
};
|
};
|
||||||
|
|
||||||
var EXCHANGE_RATE_TIMEOUT = 20 * 60 * 1000;
|
var EXCHANGE_RATE_TIMEOUT = 20 * 60 * 1000;
|
||||||
|
@ -1358,7 +1358,7 @@ Lbryio.authenticate = function () {
|
||||||
Lbryio.authToken = response.auth_token;
|
Lbryio.authToken = response.auth_token;
|
||||||
res(response);
|
res(response);
|
||||||
}).catch(function (error) {
|
}).catch(function (error) {
|
||||||
return rej();
|
return rej(error);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -8512,6 +8512,7 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
|
||||||
|
|
||||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||||
|
|
||||||
|
// @flow
|
||||||
/*:: import type { GetState } from 'types/redux';*/
|
/*:: import type { GetState } from 'types/redux';*/
|
||||||
/*:: import type {
|
/*:: import type {
|
||||||
Dispatch as ReduxDispatch,
|
Dispatch as ReduxDispatch,
|
||||||
|
@ -9584,6 +9585,7 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
|
||||||
|
|
||||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||||
|
|
||||||
|
// @flow
|
||||||
var doFetchViewCount = exports.doFetchViewCount = function doFetchViewCount(claimId /*: string*/) {
|
var doFetchViewCount = exports.doFetchViewCount = function doFetchViewCount(claimId /*: string*/) {
|
||||||
return function (dispatch) {
|
return function (dispatch) {
|
||||||
dispatch({ type: ACTIONS.FETCH_VIEW_COUNT_STARTED });
|
dispatch({ type: ACTIONS.FETCH_VIEW_COUNT_STARTED });
|
||||||
|
|
|
@ -7,7 +7,7 @@ const Lbryio = {
|
||||||
authenticationPromise: null,
|
authenticationPromise: null,
|
||||||
exchangePromise: null,
|
exchangePromise: null,
|
||||||
exchangeLastFetched: null,
|
exchangeLastFetched: null,
|
||||||
CONNECTION_STRING: 'https://api.testnet.lbry.tech/',
|
CONNECTION_STRING: 'https://api.lbry.com/',
|
||||||
};
|
};
|
||||||
|
|
||||||
const EXCHANGE_RATE_TIMEOUT = 20 * 60 * 1000;
|
const EXCHANGE_RATE_TIMEOUT = 20 * 60 * 1000;
|
||||||
|
@ -160,7 +160,7 @@ Lbryio.authenticate = () => {
|
||||||
Lbryio.authToken = response.auth_token;
|
Lbryio.authToken = response.auth_token;
|
||||||
res(response);
|
res(response);
|
||||||
})
|
})
|
||||||
.catch(error => rej());
|
.catch(error => rej(error));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue