diff --git a/ashi/ashi.js b/ashi/ashi.js index 1c9c029..5d26000 100644 --- a/ashi/ashi.js +++ b/ashi/ashi.js @@ -170,7 +170,7 @@ async function searchResults(query) { if (fullHref && imageSrc && cleanTitle) { results.push({ href: `Animekai:${fullHref}`, - image: imageSrc, + image: "https://deno-proxies-sznvnpnxwhbv.deno.dev/?url=" + encodeURIComponent(imageSrc), title: cleanTitle }); } @@ -221,7 +221,7 @@ async function searchResults(query) { const imageSrc = imageMatches[i][1]; const title = decodeHtmlEntities(titleMatches[i][1]); - results.push({ href: fullHref, image: imageSrc, title }); + results.push({ href: fullHref, image: "https://deno-proxies-sznvnpnxwhbv.deno.dev/?url=" + encodeURIComponent(imageSrc), title }); } return results; };