mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-21 22:27:11 +00:00
Trying out ignoring secure for httpBase. #13
This commit is contained in:
parent
a7d0f27b80
commit
124219b253
|
@ -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`;
|
||||
|
|
Loading…
Reference in a new issue