Skip to content

Commit

Permalink
update config (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
joedixon authored Feb 26, 2024
1 parent a7fed20 commit 671c1a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/reverb.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
'reverb' => [
'host' => env('REVERB_SERVER_HOST', '0.0.0.0'),
'port' => env('REVERB_SERVER_PORT', 8080),
'hostname' => env('REVERB_SERVER_HOSTNAME'),
'hostname' => env('REVERB_HOST'),
'options' => [
'tls' => [],
],
Expand Down
2 changes: 1 addition & 1 deletion src/Servers/Reverb/Console/Commands/StartServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function handle(): void
$this->ensureRestartCommandIsRespected($server, $loop, $host, $port);
$this->ensurePulseEventsAreCollected($loop, $config['pulse_ingest_interval']);

$this->components->info('Starting '.($server->isSecure() ? 'secure ' : '')."server on {$host}:{$port}".($hostname ? " ({$hostname})" : ''));
$this->components->info('Starting '.($server->isSecure() ? 'secure ' : '')."server on {$host}:{$port}".(($hostname && $hostname !== $host) ? " ({$hostname})" : ''));

$server->start();
}
Expand Down

0 comments on commit 671c1a4

Please sign in to comment.