fix api link for lbry.tv
This commit is contained in:
parent
b5c7722cb3
commit
74a598c8cf
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@ import { Lbry } from 'lbry-redux';
|
|||
import apiPublishCallViaWeb from './publish';
|
||||
import { X_LBRY_AUTH_TOKEN } from 'constants/token';
|
||||
|
||||
export const SDK_API_URL = process.env.SDK_API_URL || 'https://api.lbry.tv/api/v1/proxy';
|
||||
const PROXY_PATH = 'api/v1/proxy';
|
||||
export const SDK_API_URL = `${process.env.SDK_API_URL}/${PROXY_PATH}` || `https://api.lbry.tv/${PROXY_PATH}`;
|
||||
Lbry.setDaemonConnectionString(SDK_API_URL);
|
||||
|
||||
Lbry.setOverride(
|
||||
|
|
Loading…
Add table
Reference in a new issue