summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSteve Mokris <steve@kosada.com>2024-05-07 19:24:38 -0400
committerDaniel <mail@danielkesselberg.de>2024-07-10 14:38:34 +0200
commit1226e79cf1ecea286911851a7c3729b4ae54c8cd (patch)
tree7ff2736fa07f9b1b734d0624840b78a28ec28a89 /core
parent974fd522e43ade8163f8a3bd7fb9fae9cfc4518a (diff)
downloadnextcloud-server-1226e79cf1ecea286911851a7c3729b4ae54c8cd.tar.gz
nextcloud-server-1226e79cf1ecea286911851a7c3729b4ae54c8cd.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')
-rw-r--r--core/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php
index fe1fe6fcd75..82a999f1c62 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -172,3 +172,5 @@ $application->registerRoutes($this, [
// Routing
$this->create('core_ajax_update', '/core/ajax/update.php')
->actionInclude('core/ajax/update.php');
+
+$this->create('heartbeat', '/heartbeat')->get();