Fix gotty host missing on ws.php

This commit is contained in:
Calvo 2023-04-28 14:06:35 +02:00
parent 0bc18b47db
commit 8c65652c64
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ if (substr($os, 0, 3) !== 'win') {
// Common. // Common.
$base_cmd = 'nohup "'.$config['gotty'].'" '.$gotty_creds; $base_cmd = 'nohup "'.$config['gotty'].'" '.$gotty_creds;
$base_cmd .= ' --permit-arguments -a 127.0.0.1 -w '; $base_cmd .= ' --permit-arguments -a '.$config['gotty_host'].' -w ';
// Launch gotty - SSH. // Launch gotty - SSH.
$cmd = $base_cmd.' --port '.$config['gotty_ssh_port']; $cmd = $base_cmd.' --port '.$config['gotty_ssh_port'];