This commit is contained in:
Ashley 2023-11-29 19:27:19 +00:00
parent d097ee3219
commit edf4b507a2

View file

@ -99,7 +99,7 @@ const { fetch } = await import("undici");
method: req.method, method: req.method,
}); });
f.body.pipe(res); Readable.fromWeb(f.body).pipe(res);
}); });
app.get("/api/search", async (req, res) => { app.get("/api/search", async (req, res) => {