From e8f5cc7f72a5cbacb73d83ba2df840a23ae6f977 Mon Sep 17 00:00:00 2001 From: zeppi Date: Thu, 29 Jul 2021 11:49:01 -0400 Subject: [PATCH] more --- ui/index.jsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/index.jsx b/ui/index.jsx index 707a5dc41..5eae12fe8 100644 --- a/ui/index.jsx +++ b/ui/index.jsx @@ -69,12 +69,10 @@ if (process.env.SDK_API_URL) { } let sdkAPIHost = process.env.SDK_API_HOST || process.env.SDK_API_URL; -// @if TARGET='web' -sdkAPIHost = LBRY_WEB_PUBLISH_API || LBRY_WEB_API; -// @endif +sdkAPIHost = LBRY_WEB_API; 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);