Update ashi/ashi.js
This commit is contained in:
+2
-2
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user