This commit is contained in:
Sean Yesmunt 2018-12-04 13:44:15 -05:00
parent 2ffed3c768
commit ba3df4749d
2 changed files with 3 additions and 2 deletions

3
dist/bundle.js vendored
View file

@ -681,7 +681,7 @@ var Lbryio = {
};
// We can't use env's because they aren't passed into node_modules
var CONNECTION_STRING = 'https://api.lbry.io';
var CONNECTION_STRING = 'https://api.lbry.io/';
Lbryio.setLocalApi = function (endpoint) {
CONNECTION_STRING = endpoint.replace(/\/*$/, '/'); // exactly one slash at the end;
};
@ -2353,6 +2353,7 @@ var USER_EMAIL_VERIFY_SET = exports.USER_EMAIL_VERIFY_SET = 'USER_EMAIL_VERIFY_S
var USER_EMAIL_VERIFY_STARTED = exports.USER_EMAIL_VERIFY_STARTED = 'USER_EMAIL_VERIFY_STARTED';
var USER_EMAIL_VERIFY_SUCCESS = exports.USER_EMAIL_VERIFY_SUCCESS = 'USER_EMAIL_VERIFY_SUCCESS';
var USER_EMAIL_VERIFY_FAILURE = exports.USER_EMAIL_VERIFY_FAILURE = 'USER_EMAIL_VERIFY_FAILURE';
var USER_EMAIL_VERIFY_RETRY = exports.USER_EMAIL_VERIFY_RETRY = 'USER_EMAIL_VERIFY_RETRY';
var USER_PHONE_RESET = exports.USER_PHONE_RESET = 'USER_PHONE_RESET';
var USER_PHONE_NEW_STARTED = exports.USER_PHONE_NEW_STARTED = 'USER_PHONE_NEW_STARTED';
var USER_PHONE_NEW_SUCCESS = exports.USER_PHONE_NEW_SUCCESS = 'USER_PHONE_NEW_SUCCESS';

View file

@ -8,7 +8,7 @@ const Lbryio = {
};
// We can't use env's because they aren't passed into node_modules
let CONNECTION_STRING = 'https://api.lbry.io';
let CONNECTION_STRING = 'https://api.lbry.io/';
Lbryio.setLocalApi = endpoint => {
CONNECTION_STRING = endpoint.replace(/\/*$/, '/'); // exactly one slash at the end;
};