aboutsummaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorSteve Mokris <steve@kosada.com>2024-05-07 19:24:38 -0400
committerSteve Mokris <steve@kosada.com>2024-05-07 20:01:27 -0400
commite5ec9d6a7be262d11e613f0e9b5f61e2e3f2e4c7 (patch)
treefec5a9525a53dc1e79ceeebd79ca03a31498ba04 /core/routes.php
parentc60de5bea094ff1b1791bb6bc630ab20df39553d (diff)
downloadnextcloud-server-e5ec9d6a7be262d11e613f0e9b5f61e2e3f2e4c7.tar.gz
nextcloud-server-e5ec9d6a7be262d11e613f0e9b5f61e2e3f2e4c7.zip
fix(settings): define a 'heartbeat' route, so SecurityHeaders can handle redirected root
Signed-off-by: Steve Mokris <steve@kosada.com>
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php
index 4397f8473db..90c458b7849 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -40,3 +40,5 @@ declare(strict_types=1);
// Routing
$this->create('core_ajax_update', '/core/ajax/update.php')
->actionInclude('core/ajax/update.php');
+
+$this->create('heartbeat', '/heartbeat')->get();