Try to keep socket open?
This commit is contained in:
parent
d35d4be9b7
commit
f23c68de86
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -41,7 +41,7 @@ app.get("/disc", (req, res) => {
|
|||
setTimeout(() => {
|
||||
if (!res.closed) {
|
||||
loop()
|
||||
res.write("")
|
||||
res.write(" ")
|
||||
}
|
||||
}, 1000);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue