From f62cbcbcb96e65d0702e15f2556543a6ad19e826 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Wed, 5 Jun 2019 17:30:02 -0400 Subject: [PATCH] update api url (#2536) Update api url to api.lbry.tv --- src/ui/component/viewers/videoViewer.jsx | 2 +- src/ui/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/component/viewers/videoViewer.jsx b/src/ui/component/viewers/videoViewer.jsx index 8599afdce..9787e7f6d 100644 --- a/src/ui/component/viewers/videoViewer.jsx +++ b/src/ui/component/viewers/videoViewer.jsx @@ -28,7 +28,7 @@ class AudioVideoViewer extends React.PureComponent { // 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, diff --git a/src/ui/index.jsx b/src/ui/index.jsx index a928ebd7d..9ad9d0491 100644 --- a/src/ui/index.jsx +++ b/src/ui/index.jsx @@ -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