diff options
author | Andy Scherzinger <info@andy-scherzinger.de> | 2024-06-18 17:29:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-18 17:29:30 +0200 |
commit | c3354e9c84da078234b835b41f6a238a065e5063 (patch) | |
tree | 88e66df443d5728997d0dcc52bc2a4d68cc1837a /core/routes.php | |
parent | 4e840fb17aefdc046dd3f7a0cca3eb15930ff9b4 (diff) | |
parent | 5d744456f627ce5ea78ae506863fff337797deea (diff) | |
download | nextcloud-server-c3354e9c84da078234b835b41f6a238a065e5063.tar.gz nextcloud-server-c3354e9c84da078234b835b41f6a238a065e5063.zip |
Merge pull request #45228 from smokris/heartbeat-route
fix(settings): define a 'heartbeat' route, so SecurityHeaders can handle redirected root
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php index 7d18b278c58..2234a4a5c17 100644 --- a/core/routes.php +++ b/core/routes.php @@ -13,3 +13,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(); |