fixed skill issue

This commit is contained in:
Ashley 2022-03-02 23:25:41 +03:00 committed by GitHub
parent f4d7f7e6d6
commit 6b0ebfde08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);