mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-24 18:58:39 +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 nn = "";
|
||||
|
||||
if (n === null) {
|
||||
nn = "";
|
||||
}
|
||||
|
||||
if (n) {
|
||||
nn = JSON.parse(n);
|
||||
}
|
||||
|
||||
var fetching = await fetcher(v);
|
||||
|
||||
|
@ -225,7 +234,7 @@ app.get("/watch", async function (req, res) {
|
|||
f: f,
|
||||
t: config.t_url,
|
||||
optout: t,
|
||||
nigth:JSON.parse(n),
|
||||
nigth:nn,
|
||||
lyrics: "",
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue