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