Fix redirect issue when using custom domains

This commit is contained in:
Marcel Pociot
2022-02-23 12:43:54 +01:00
parent 3aa4847d33
commit 813f742c20
3 changed files with 24 additions and 3 deletions

View File

@@ -120,6 +120,8 @@ class Client
$httpProtocol = $this->configuration->port() === 443 ? 'https' : 'http';
$host = $data->server_host ?? $this->configuration->host();
$this->configuration->setServerHost($host);
$this->logger->info($data->message);
$this->logger->info("Local-URL:\t\t{$sharedUrl}");
$this->logger->info("Dashboard-URL:\t\thttp://127.0.0.1:".config()->get('expose.dashboard_port'));