mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-22 19:01:26 +00:00
Trying out ignoring secure for httpBase. #13
This commit is contained in:
parent
a7d0f27b80
commit
124219b253
1 changed files with 1 additions and 1 deletions
|
@ -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