From 124219b2530e534d46e783d3089b7c5eb2540fe3 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 15 Sep 2020 10:26:59 -0500 Subject: [PATCH] Trying out ignoring secure for httpBase. #13 --- src/shared/env.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/env.ts b/src/shared/env.ts index 71a6071..9775286 100644 --- a/src/shared/env.ts +++ b/src/shared/env.ts @@ -21,7 +21,7 @@ const secure = isBrowser() const host = isBrowser() ? externalHost : internalHost; -const httpBase = `http${secure}://${host}`; +const httpBase = `http://${host}`; // Don't use secure here export const wsUri = `ws${secure}://${host}/api/v1/ws`; export const httpUri = `${httpBase}/api/v1`; export const pictrsUri = `${httpBase}/pictrs/image`; -- 2.44.1