aboutsummaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2023-09-05 11:42:48 -0100
committerMaxence Lange <maxence@artificial-owl.com>2023-09-20 08:23:45 -0100
commit8b9e7e235dd7711bba31441e9a8b09dc33f85d38 (patch)
tree3d0d2725d819cfc53c73d198681e8d00178d4a64 /core/routes.php
parentd5fc95b661d34899095dc53b363cdb35fa458565 (diff)
downloadnextcloud-server-8b9e7e235dd7711bba31441e9a8b09dc33f85d38.tar.gz
nextcloud-server-8b9e7e235dd7711bba31441e9a8b09dc33f85d38.zip
ocm controller
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php
index ad8638e0b1e..fcb5a15cf01 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -13,6 +13,7 @@ declare(strict_types=1);
* @author John Molakvoæ <skjnldsv@protonmail.com>
* @author Julius Härtl <jus@bitgrid.net>
* @author Lukas Reschke <lukas@statuscode.ch>
+ * @author Maxence Lange <maxence@artificial-owl.com>
* @author Michael Weimann <mail@michael-weimann.eu>
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Thomas Müller <thomas.mueller@tmit.eu>
@@ -103,6 +104,9 @@ $application->registerRoutes($this, [
// Well known requests https://tools.ietf.org/html/rfc5785
['name' => 'WellKnown#handle', 'url' => '.well-known/{service}'],
+ // OCM Provider requests https://github.com/cs3org/OCM-API
+ ['name' => 'OCM#discovery', 'url' => '/ocm-provider/'],
+
// Unsupported browser
['name' => 'UnsupportedBrowser#index', 'url' => 'unsupported'],
],