From bad4db9a4261ac127a943d9224efc4e8bba41247 Mon Sep 17 00:00:00 2001 From: Steveorevo Date: Mon, 29 May 2023 11:35:48 -0700 Subject: [PATCH] get IP fix --- vscode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.