try streaming with websockets

This commit is contained in:
Sem van der Hoeven
2023-06-03 14:13:34 +02:00
parent f30a51ca68
commit 8fca2086ac
5 changed files with 57 additions and 2 deletions

View File

@@ -163,5 +163,9 @@ app.get("/connect", function (req, res) {
}, 1000);
});
app.get("/test", function (req, res) {
res.render("test");
});
app.listen(8080);
console.log("Server is listening on port 8080");