From a32a1eab67a7abb3d070024d2347fc20838bba72 Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 26 Jan 2024 09:36:14 +0200 Subject: [PATCH] fix home page route --- src/server.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server.php b/src/server.php index cb128ca..22830fc 100644 --- a/src/server.php +++ b/src/server.php @@ -82,6 +82,7 @@ foreach ((array) scandir(__DIR__ . '/../host') as $host) switch ($request->getPath()) { // Home page + case null: case '/': // Get rooms list