From 6b0ebfde0820010571da039206d84ca210752713 Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 2 Mar 2022 23:25:41 +0300 Subject: [PATCH] fixed skill issue --- server.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/server.js b/server.js index 9ef15d39..99d2bca7 100644 --- a/server.js +++ b/server.js @@ -144,11 +144,6 @@ const options = { request(options).pipe(res); }); - app.get("/video/upload", (req, res) => { - res.redirect("https://youtube.com/upload?from=poketube_utc"); - - }); - app.get("/fetch", async function (req, res) { var url = req.query.v; const js = await fetch( @@ -159,4 +154,8 @@ const options = { res.json(lastItem.url) }); */ + app.get("/video/upload", (req, res) => { + res.redirect("https://youtube.com/upload?from=poketube_utc"); + + }); const listener = app.listen(3000);