Skip to content

Commit

Permalink
Merge pull request #1 from apility/region-command-shorthand-fix
Browse files Browse the repository at this point in the history
Fixes unknown shorthand flag error occurring in ngrok 3.0
  • Loading branch information
thomas-alrek authored Sep 13, 2022
2 parents e8057d5 + f963ffc commit a269856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NgrokProcessBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function buildProcess(string $host = '', string $port = '80', string $reg
$region = $region ? $region : env('NGROK_REGION', 'eu');

if ($region) {
$command[] = "-region={$region}";
$command[] = "--region={$region}";
}

if ($host !== '') {
Expand Down

0 comments on commit a269856

Please sign in to comment.