Skip to content

Commit

Permalink
get IP fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveorevo committed May 29, 2023
1 parent 9b7843c commit bad4db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bad4db9

Please sign in to comment.