fixed skill issue

This commit is contained in:
Ashley 2022-03-02 23:25:41 +03:00 committed by GitHub
parent 09081c2a90
commit acec59a9b7

View file

@ -144,11 +144,6 @@ const options = {
request(options).pipe(res); 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) { app.get("/fetch", async function (req, res) {
var url = req.query.v; var url = req.query.v;
const js = await fetch( const js = await fetch(
@ -159,4 +154,8 @@ const options = {
res.json(lastItem.url) res.json(lastItem.url)
}); });
*/ */
app.get("/video/upload", (req, res) => {
res.redirect("https://youtube.com/upload?from=poketube_utc");
});
const listener = app.listen(3000); const listener = app.listen(3000);