2012-08-12 10:52:36 -04:00
|
|
|
<?php
|
2021-04-26 06:44:37 -04:00
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2025-11-17 08:28:04 -05:00
|
|
|
use OC\Route\Router;
|
|
|
|
|
|
2012-08-12 10:52:36 -04:00
|
|
|
/**
|
2025-11-18 11:36:29 -05:00
|
|
|
* SPDX-FileCopyrightText: 2016-2025 Nextcloud GmbH and Nextcloud contributors
|
2024-05-27 04:08:53 -04:00
|
|
|
* SPDX-FileCopyrightText: 2012-2016 ownCloud, Inc.
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2012-08-12 10:52:36 -04:00
|
|
|
*/
|
2025-11-17 08:28:04 -05:00
|
|
|
/** @var Router $this */
|
2012-10-02 15:57:51 -04:00
|
|
|
// Core ajax actions
|
2012-10-05 03:42:36 -04:00
|
|
|
// Routing
|
2014-08-19 09:40:08 -04:00
|
|
|
$this->create('core_ajax_update', '/core/ajax/update.php')
|
|
|
|
|
->actionInclude('core/ajax/update.php');
|
2024-05-07 19:24:38 -04:00
|
|
|
|
|
|
|
|
$this->create('heartbeat', '/heartbeat')->get();
|