mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-25 07:36:37 +00:00
Fix pictrs fetch url to use https
This commit is contained in:
parent
698db7fc0b
commit
538965cad0
|
@ -24,7 +24,7 @@ const host = isBrowser() ? externalHost : internalHost;
|
|||
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`;
|
||||
export const pictrsUri = `http${secure}://${host}/pictrs/image`;
|
||||
|
||||
console.log(`httpbase: ${httpBase}`);
|
||||
console.log(`wsUri: ${wsUri}`);
|
||||
|
|
Loading…
Reference in a new issue