added ability to create a lobby
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user