update api url #2536

Merged
tzarebczan merged 2 commits from pb-update into master 2019-06-05 23:30:03 +02:00
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
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 = [
{
src: path,

View file

@ -44,7 +44,7 @@ if (process.env.SEARCH_API_URL) {
}
// @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);
// @endif