added ability to create a lobby

This commit is contained in:
IM23a-cernik
2025-04-17 13:03:25 +02:00
parent 3afa5cc57c
commit 438f3e5eaf
+2
View File
@@ -10,6 +10,8 @@ async function createLobby() {
return lobbyId; return lobbyId;
} }
as
app.get("/lobby/create", async (req, res) => { app.get("/lobby/create", async (req, res) => {
let lobbyId = await createLobby(); let lobbyId = await createLobby();
res.send("Lobby ID: " + lobbyId); res.send("Lobby ID: " + lobbyId);