This commit is contained in:
Marcel Pociot committed 2020-05-03 22:10:34 +02:00
1 parent 7d0a570d85
commit 7821a2f172
6 files changed
+69 -45

No files matched your search

@@ -27,15 +27,11 @@ class ListSitesController extends AdminController
public function handle(Request $request, ConnectionInterface $httpConnection)
{
try {
$sites = $this->getView($httpConnection, 'server.sites.index', [
'scheme' => $this->configuration->port() === 443 ? 'https' : 'http',
'configuration' => $this->configuration,
'sites' => $this->connectionManager->getConnections()
]);
} catch (\Exception $e) {
dump($e->getMessage());
}
$sites = $this->getView($httpConnection, 'server.sites.index', [
'scheme' => $this->configuration->port() === 443 ? 'https' : 'http',
'configuration' => $this->configuration,
'sites' => $this->connectionManager->getConnections()
]);
$httpConnection->send(
respond_html($sites)