diff --git a/vscode.php b/vscode.php index 89af89f..7d3d15b 100644 --- a/vscode.php +++ b/vscode.php @@ -74,7 +74,7 @@ public function setup( $user ) { // Get user account first IP address. $ip = array_key_first( - json_decode( shell_exec( '/usr/local/hestia/bin/v-list-user-ips homestead json' ), true ) + json_decode( shell_exec( '/usr/local/hestia/bin/v-list-user-ips ' . $user . ' json' ), true ) ); // Create the nginx.conf file.