lbry.io => lbry.com

This commit is contained in:
Sean Yesmunt 2019-05-10 13:29:51 -04:00
parent c8126ab217
commit 231d51832a
4 changed files with 6 additions and 6 deletions

4
dist/bundle.es.js vendored
View file

@ -984,7 +984,7 @@ function isURIClaimable(URI) {
function convertToShareLink(URI) { function convertToShareLink(URI) {
const { claimName, path, bidPosition, claimSequence, claimId } = parseURI(URI); const { claimName, path, bidPosition, claimSequence, claimId } = parseURI(URI);
return buildURI({ claimName, path, claimSequence, bidPosition, claimId }, true, 'https://open.lbry.io/'); return buildURI({ claimName, path, claimSequence, bidPosition, claimId }, true, 'https://open.lbry.com/');
} }
var _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; var _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@ -2400,7 +2400,7 @@ function handleFetchResponse(response) {
const DEBOUNCED_SEARCH_SUGGESTION_MS = 300; const DEBOUNCED_SEARCH_SUGGESTION_MS = 300;
// We can't use env's because they aren't passed into node_modules // We can't use env's because they aren't passed into node_modules
let CONNECTION_STRING = 'https://lighthouse.lbry.io/'; let CONNECTION_STRING = 'https://lighthouse.lbry.com/';
const setSearchApi = endpoint => { const setSearchApi = endpoint => {
CONNECTION_STRING = endpoint.replace(/\/*$/, '/'); // exactly one slash at the end; CONNECTION_STRING = endpoint.replace(/\/*$/, '/'); // exactly one slash at the end;

View file

@ -6,7 +6,7 @@
"lbry" "lbry"
], ],
"license": "MIT", "license": "MIT",
"homepage": "https://lbry.io/", "homepage": "https://lbry.com/",
"bugs": { "bugs": {
"url": "https://github.com/lbryio/lbry-redux/issues" "url": "https://github.com/lbryio/lbry-redux/issues"
}, },
@ -16,7 +16,7 @@
}, },
"author": { "author": {
"name": "LBRY Inc.", "name": "LBRY Inc.",
"email": "hello@lbry.io" "email": "hello@lbry.com"
}, },
"main": "dist/bundle.es.js", "main": "dist/bundle.es.js",
"module": "dist/bundle.es.js", "module": "dist/bundle.es.js",

View file

@ -228,6 +228,6 @@ export function convertToShareLink(URI) {
return buildURI( return buildURI(
{ claimName, path, claimSequence, bidPosition, claimId }, { claimName, path, claimSequence, bidPosition, claimId },
true, true,
'https://open.lbry.io/' 'https://open.lbry.com/'
); );
} }

View file

@ -17,7 +17,7 @@ type Dispatch = (action: any) => any;
type GetState = () => { search: SearchState }; type GetState = () => { search: SearchState };
// We can't use env's because they aren't passed into node_modules // We can't use env's because they aren't passed into node_modules
let CONNECTION_STRING = 'https://lighthouse.lbry.io/'; let CONNECTION_STRING = 'https://lighthouse.lbry.com/';
export const setSearchApi = (endpoint: string) => { export const setSearchApi = (endpoint: string) => {
CONNECTION_STRING = endpoint.replace(/\/*$/, '/'); // exactly one slash at the end; CONNECTION_STRING = endpoint.replace(/\/*$/, '/'); // exactly one slash at the end;