mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 12:28:09 +01:00
fixed skill issue
This commit is contained in:
parent
f4d7f7e6d6
commit
6b0ebfde08
1 changed files with 4 additions and 5 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue