Specify the protocol for the proxy url (else the TeaClient would not work)
This commit is contained in:
parent
b4fc739a13
commit
1ef614b573
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ namespace messages.formatter {
|
|||
|
||||
export function load_image(entry: HTMLImageElement) {
|
||||
const url = decodeURIComponent(entry.getAttribute("x-image-url") || "");
|
||||
const proxy_url = "//images.weserv.nl/?url=" + encodeURIComponent(url);
|
||||
const proxy_url = "https://images.weserv.nl/?url=" + encodeURIComponent(url);
|
||||
|
||||
entry.onload = undefined;
|
||||
entry.src = proxy_url;
|
||||
|
|
Loading…
Add table
Reference in a new issue