Join the terminal only if it is managed by Dockge

This commit is contained in:
Louis Lam 2023-11-25 01:18:10 +08:00
parent b6141b18f5
commit 58fb332a59

View file

@ -75,7 +75,9 @@ export class DockerSocketHandler extends SocketHandler {
const stack = Stack.getStack(server, stackName);
stack.joinCombinedTerminal(socket);
if (stack.isManagedByDockge) {
stack.joinCombinedTerminal(socket);
}
callback({
ok: true,