diff --git a/backend/server/src/index.ts b/backend/server/src/index.ts index 23d59cb..50c7260 100644 --- a/backend/server/src/index.ts +++ b/backend/server/src/index.ts @@ -499,7 +499,8 @@ io.on("connection", async (socket) => { socket.on("createTerminal", async (id: string, callback) => { try { - if (terminals[id] || Object.keys(terminals).length >= 4) { + // Note: The number of terminals per window is limited on the frontend, but not backend + if (terminals[id]) { return; }