mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
fix(terminal) config: terminal and terminalPath checked before set
This commit is contained in:
parent
a260a921ba
commit
10307291a3
3 changed files with 21 additions and 10 deletions
|
|
@ -180,7 +180,7 @@ function listen(prefix, socket) {
|
|||
prefix: prefix + '/console',
|
||||
});
|
||||
|
||||
config('terminal') && terminal.listen(socket, {
|
||||
config('terminal') && terminal().listen(socket, {
|
||||
authCheck,
|
||||
prefix: prefix + '/gritty',
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue