mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-22 19:01:26 +00:00
Fix pictrs fetch url to use https
This commit is contained in:
parent
698db7fc0b
commit
538965cad0
1 changed files with 1 additions and 1 deletions
|
@ -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