diff --git a/wwwroot/js/ui.js b/wwwroot/js/ui.js index 0ab1219..036e33a 100644 --- a/wwwroot/js/ui.js +++ b/wwwroot/js/ui.js @@ -999,11 +999,9 @@ function isValidImageUrl(url) { "rebrand.ly", "steamcommunity.com", "store.steampowered.com", - "imgur.com", ]; if (bannedHosts.some((h) => host === h)) return false; if (host === "imgur.com" && !u.pathname.startsWith("/a/") && !u.pathname.startsWith("/gallery/")) return false; - if (host === "steamcommunity.com") return false; const path = u.pathname.toLowerCase(); return [".png", ".jpg", ".jpeg", ".gif", ".webp", ".avif"].some((ext) => path.endsWith(ext),