From 438f3e5eafcd6e59faba5d87615d9918e241c5a2 Mon Sep 17 00:00:00 2001 From: IM23a-cernik Date: Thu, 17 Apr 2025 13:03:25 +0200 Subject: [PATCH] added ability to create a lobby --- lobby.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lobby.js b/lobby.js index 983db7d..b34f8b9 100644 --- a/lobby.js +++ b/lobby.js @@ -10,6 +10,8 @@ async function createLobby() { return lobbyId; } +as + app.get("/lobby/create", async (req, res) => { let lobbyId = await createLobby(); res.send("Lobby ID: " + lobbyId);