aboutsummaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-02-01 12:18:24 +0100
committerJulius Härtl <jus@bitgrid.net>2018-02-12 17:22:33 +0100
commit922cf44c81770a28c1e4791e9559a101d2263de9 (patch)
tree02fd1af450e2d40307de4b25788c079126a10596 /core/routes.php
parent8ecac5654323e5d335386874f01b15d680d0febb (diff)
downloadnextcloud-server-922cf44c81770a28c1e4791e9559a101d2263de9.tar.gz
nextcloud-server-922cf44c81770a28c1e4791e9559a101d2263de9.zip
Move to OCS endpoint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/routes.php b/core/routes.php
index 5fc58cbdfc0..97a8621fc39 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -59,8 +59,6 @@ $application->registerRoutes($this, [
['name' => 'OCJS#getConfig', 'url' => '/core/js/oc.js', 'verb' => 'GET'],
['name' => 'Preview#getPreviewByFileId', 'url' => '/core/preview', 'verb' => 'GET'],
['name' => 'Preview#getPreview', 'url' => '/core/preview.png', 'verb' => 'GET'],
- ['name' => 'Navigation#getAppsNavigation', 'url' => '/core/navigation/apps', 'verb' => 'GET'],
- ['name' => 'Navigation#getSettingsNavigation', 'url' => '/core/navigation/settings', 'verb' => 'GET'],
['name' => 'Css#getCss', 'url' => '/css/{appName}/{fileName}', 'verb' => 'GET'],
['name' => 'Js#getJs', 'url' => '/js/{appName}/{fileName}', 'verb' => 'GET'],
['name' => 'contactsMenu#index', 'url' => '/contactsmenu/contacts', 'verb' => 'POST'],
@@ -73,6 +71,8 @@ $application->registerRoutes($this, [
['root' => '', 'name' => 'OCS#getConfig', 'url' => '/config', 'verb' => 'GET'],
['root' => '/person', 'name' => 'OCS#personCheck', 'url' => '/check', 'verb' => 'POST'],
['root' => '/identityproof', 'name' => 'OCS#getIdentityProof', 'url' => '/key/{cloudId}', 'verb' => 'GET'],
+ ['root' => '/core', 'name' => 'Navigation#getAppsNavigation', 'url' => '/navigation/apps', 'verb' => 'GET'],
+ ['root' => '/core', 'name' => 'Navigation#getSettingsNavigation', 'url' => '/navigation/settings', 'verb' => 'GET'],
],
]);