From 7f26e080a4f51612f1adf60c6f6d380126cec3b1 Mon Sep 17 00:00:00 2001 From: Mohammad Mahdi Date: Sat, 8 Feb 2025 00:16:22 +0330 Subject: [PATCH] Minor improvements to web UI --- Web/wwwroot/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Web/wwwroot/index.html b/Web/wwwroot/index.html index af44201..3d88952 100755 --- a/Web/wwwroot/index.html +++ b/Web/wwwroot/index.html @@ -261,7 +261,7 @@ imageUrl = data.media_attachments[0].PreviewUrl; } else { console.warn("No RemoteUrl or PreviewUrl found, using placeholder"); - postImage.src = "placeholder-no-image.png"; + postImage.src = "https://s6.uupload.ir/files/a69d5fc9e900cc51_1920_kmnr.png"; postImage.classList.remove('loading'); return; } @@ -272,12 +272,12 @@ postImage.onerror = () => { console.error("Error loading image:", imageUrl); - postImage.src = "placeholder-error.png"; + postImage.src = "https://s6.uupload.ir/files/a69d5fc9e900cc51_1920_kmnr.png"; postImage.classList.remove('loading'); }; postImage.src = imageUrl; - mastodonLink.href = data.Url; + mastodonLink.href = data.url; }) .catch(error => { postContainer.classList.remove('loading');