more
This commit is contained in:
parent
e2877cf505
commit
ba1f7e67e4
1 changed files with 2 additions and 4 deletions
|
@ -69,12 +69,10 @@ if (process.env.SDK_API_URL) {
|
||||||
}
|
}
|
||||||
|
|
||||||
let sdkAPIHost = process.env.SDK_API_HOST || process.env.SDK_API_URL;
|
let sdkAPIHost = process.env.SDK_API_HOST || process.env.SDK_API_URL;
|
||||||
// @if TARGET='web'
|
sdkAPIHost = LBRY_WEB_API;
|
||||||
sdkAPIHost = LBRY_WEB_PUBLISH_API || LBRY_WEB_API;
|
|
||||||
// @endif
|
|
||||||
|
|
||||||
export const SDK_API_PATH = `${sdkAPIHost}/api/v1`;
|
export const SDK_API_PATH = `${sdkAPIHost}/api/v1`;
|
||||||
const proxyURL = `${SDK_API_PATH}/proxy`;
|
const proxyURL = LBRY_WEB_PUBLISH_API || `${SDK_API_PATH}/proxy`;
|
||||||
|
|
||||||
Lbry.setDaemonConnectionString(proxyURL);
|
Lbry.setDaemonConnectionString(proxyURL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue