fix: don't limit the number of terminals on the backend
This commit is contained in:
parent
8e3a6d1aa6
commit
63f3b082d5
@ -656,7 +656,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