mirror of
https://github.com/danbulant/slightlyComplicatedTicTacToe
synced 2026-06-18 14:01:05 +00:00
implement get requestsd
This commit is contained in:
parent
bc1592d7d7
commit
f4c135cf5b
1 changed files with 3 additions and 0 deletions
|
|
@ -312,6 +312,9 @@ require("uWebSockets.js")
|
|||
clients.delete(ws);
|
||||
},
|
||||
})
|
||||
.get("/*", (res, req) => {
|
||||
res.writeStatus("200 OK").writeHeader("Content-Type", "text/plain").end("OK");
|
||||
})
|
||||
.listen(PORT, () => {
|
||||
console.log(`Listening on port ${PORT}`);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue