Update ashi/ashi.js

This commit is contained in:
aka paul 2025-12-28 14:30:38 +00:00
parent a7694851e8
commit 1fa493a0b9

View file

@ -170,7 +170,7 @@ async function searchResults(query) {
if (fullHref && imageSrc && cleanTitle) { if (fullHref && imageSrc && cleanTitle) {
results.push({ results.push({
href: `Animekai:${fullHref}`, href: `Animekai:${fullHref}`,
image: imageSrc, image: "https://deno-proxies-sznvnpnxwhbv.deno.dev/?url=" + encodeURIComponent(imageSrc),
title: cleanTitle title: cleanTitle
}); });
} }
@ -221,7 +221,7 @@ async function searchResults(query) {
const imageSrc = imageMatches[i][1]; const imageSrc = imageMatches[i][1];
const title = decodeHtmlEntities(titleMatches[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; return results;
}; };