mirror of
https://github.com/danbulant/slightlyComplicatedTicTacToe
synced 2026-07-03 18:20:42 +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);
|
clients.delete(ws);
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
.get("/*", (res, req) => {
|
||||||
|
res.writeStatus("200 OK").writeHeader("Content-Type", "text/plain").end("OK");
|
||||||
|
})
|
||||||
.listen(PORT, () => {
|
.listen(PORT, () => {
|
||||||
console.log(`Listening on port ${PORT}`);
|
console.log(`Listening on port ${PORT}`);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue