From b0d56ef3877b68496ea6b36ec4894c707eb77b22 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 7 May 2020 11:35:23 +0200 Subject: [PATCH] Add index URL to access homepage --- src/includes/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/routes.php b/src/includes/routes.php index 46f0737f..812a7d93 100644 --- a/src/includes/routes.php +++ b/src/includes/routes.php @@ -44,7 +44,7 @@ function handle_index($request) { // Display template LSsession :: displayTemplate(); } -LSurl :: add_handler('#^(index\.php)?$#', 'handle_index', true); +LSurl :: add_handler('#^(index\.php|index)?$#', 'handle_index', true); /* * Handle ajax keepLSsession request