fix: don't limit the number of terminals on the backend
This commit is contained in:
parent
f4c79bbb07
commit
09b3cf1862
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user