fix url :3

This commit is contained in:
ashley 2024-07-03 07:00:30 +00:00
parent 99cc288726
commit c64c800024

View file

@ -189,7 +189,7 @@ module.exports = function (app, config, renderTemplate) {
const { fetch } = await import("undici"); const { fetch } = await import("undici");
const search = await fetch(atob("aHR0cHM6Ly9zZWFyY2guc3Vkb3ZhbmlsbGEub3JnL2FwaS92MS93ZWI/cz0=") + query); const search = await fetch(atob("aHR0cHM6Ly80Z2V0LmhidWJsaS5jYy8vYXBpL3YxL3dlYj9zPQ==") + query);
const web = getJson(await search.text()); const web = getJson(await search.text());
if (req.query.lucky === "true") { if (req.query.lucky === "true") {