mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-25 07:38:38 +01:00
qwq
This commit is contained in:
parent
8d65afa71b
commit
baececcdc3
1 changed files with 10 additions and 1 deletions
11
server.js
11
server.js
|
@ -169,7 +169,16 @@ app.get("/watch", async function (req, res) {
|
||||||
var n = await nightly.text().catch(() => null);
|
var n = await nightly.text().catch(() => null);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
var nn = "";
|
||||||
|
|
||||||
|
if (n === null) {
|
||||||
|
nn = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
if (n) {
|
||||||
|
nn = JSON.parse(n);
|
||||||
|
}
|
||||||
|
|
||||||
var fetching = await fetcher(v);
|
var fetching = await fetcher(v);
|
||||||
|
|
||||||
|
@ -225,7 +234,7 @@ app.get("/watch", async function (req, res) {
|
||||||
f: f,
|
f: f,
|
||||||
t: config.t_url,
|
t: config.t_url,
|
||||||
optout: t,
|
optout: t,
|
||||||
nigth:JSON.parse(n),
|
nigth:nn,
|
||||||
lyrics: "",
|
lyrics: "",
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue