Trying out ignoring secure for httpBase. #13

This commit is contained in:
Dessalines 2020-09-15 10:26:59 -05:00
parent a7d0f27b80
commit 124219b253

View file

@ -21,7 +21,7 @@ const secure = isBrowser()
const host = isBrowser() ? externalHost : internalHost; 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 wsUri = `ws${secure}://${host}/api/v1/ws`;
export const httpUri = `${httpBase}/api/v1`; export const httpUri = `${httpBase}/api/v1`;
export const pictrsUri = `${httpBase}/pictrs/image`; export const pictrsUri = `${httpBase}/pictrs/image`;