From 77d6282fb9780e8ae8899c162c73a730959d863d Mon Sep 17 00:00:00 2001 From: Ashley Date: Fri, 22 Jul 2022 00:02:38 +0300 Subject: [PATCH] Update server.js --- server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server.js b/server.js index cdbb82fa..f0ba657e 100644 --- a/server.js +++ b/server.js @@ -66,6 +66,7 @@ app.get("/watch", async function (req, res) { var f = req.query.f; var t = req.query.t; const video = await fetch(config.tubeApi + `video?v=${v}`); + const h = await video.text(); const k = JSON.parse(toJson(h)); if (!v) res.redirect("/");