This commit is contained in:
Marcel Pociot
2020-06-05 16:05:12 +02:00
parent 699178d12a
commit 8dc5bb96e0
2 changed files with 11 additions and 0 deletions

View File

@@ -40,6 +40,14 @@ class TunnelMessageController extends Controller
{
$subdomain = $this->detectSubdomain($request);
if (is_null($subdomain)) {
$httpConnection->send(
respond_html($this->getView($httpConnection, 'server.homepage'), 200)
);
$httpConnection->close();
return;
}
$controlConnection = $this->connectionManager->findControlConnectionForSubdomain($subdomain);
if (is_null($controlConnection)) {