update api url (#2536)

Update api url to api.lbry.tv
This commit is contained in:
Thomas Zarebczan 2019-06-05 17:30:02 -04:00 committed by GitHub
parent 24bc21aecc
commit f62cbcbcb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ class AudioVideoViewer extends React.PureComponent<Props> {
// Will need to be changed to include time to start // Will need to be changed to include time to start
analytics.apiLogView(`${name}#${claimId}`, `${txid}:${nout}`, claimId); analytics.apiLogView(`${name}#${claimId}`, `${txid}:${nout}`, claimId);
const path = `https://api.piratebay.com/content/claims/${claim.name}/${claim.claim_id}/stream.mp4`; const path = `https://api.lbry.tv/content/claims/${claim.name}/${claim.claim_id}/stream.mp4`;
const sources = [ const sources = [
{ {
src: path, src: path,

View file

@ -44,7 +44,7 @@ if (process.env.SEARCH_API_URL) {
} }
// @if TARGET='web' // @if TARGET='web'
const SDK_API_URL = process.env.SDK_API_URL || 'https://api.piratebay.com/api/proxy'; const SDK_API_URL = process.env.SDK_API_URL || 'https://api.lbry.tv/api/proxy';
Lbry.setDaemonConnectionString(SDK_API_URL); Lbry.setDaemonConnectionString(SDK_API_URL);
// @endif // @endif