mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 05:14:39 -05:00
fix url :3
This commit is contained in:
parent
99cc288726
commit
c64c800024
1 changed files with 1 additions and 1 deletions
|
@ -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") {
|
||||||
|
|
Loading…
Reference in a new issue