change api url :3

This commit is contained in:
ashley 2024-06-15 11:52:43 +00:00
parent 3c5710e192
commit 0f0e142daf

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("aHR0cHM6Ly80Z2V0LnN1ZG92YW5pbGxhLm9yZy9hcGkvdjEvd2ViP3M9") + query); const search = await fetch(atob("aHR0cHM6Ly9zZWFyY2guc3Vkb3ZhbmlsbGEub3JnL2FwaS92MS93ZWI/cz0=") + query);
const web = getJson(await search.text()); const web = getJson(await search.text());
if (req.query.lucky === "true") { if (req.query.lucky === "true") {