diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-08-12 20:17:44 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-08-31 16:20:06 +0200 |
commit | 0ce0d37ac18456092702a6ed4410ec7e61bdfc07 (patch) | |
tree | d0f327f6d9473ef628b155980bcaa0f374827078 /core/routes.php | |
parent | f58218deeab3a56d5a6a1dfb2047901155daa74d (diff) | |
download | nextcloud-server-0ce0d37ac18456092702a6ed4410ec7e61bdfc07.tar.gz nextcloud-server-0ce0d37ac18456092702a6ed4410ec7e61bdfc07.zip |
Implement image caching
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/routes.php b/core/routes.php index aef121591e3..b75cb0f6b3b 100644 --- a/core/routes.php +++ b/core/routes.php @@ -79,6 +79,7 @@ $application->registerRoutes($this, [ ['name' => 'Preview#getPreviewByFileId', 'url' => '/core/preview', 'verb' => 'GET'], ['name' => 'Preview#getPreview', 'url' => '/core/preview.png', 'verb' => 'GET'], ['name' => 'RecommendedApps#index', 'url' => '/core/apps/recommended', 'verb' => 'GET'], + ['name' => 'Reference#preview', 'url' => '/core/references/preview/{referenceId}', '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'], @@ -120,8 +121,8 @@ $application->registerRoutes($this, [ ['root' => '/collaboration', 'name' => 'CollaborationResources#getCollectionsByResource', 'url' => '/resources/{resourceType}/{resourceId}', 'verb' => 'GET'], ['root' => '/collaboration', 'name' => 'CollaborationResources#createCollectionOnResource', 'url' => '/resources/{baseResourceType}/{baseResourceId}', 'verb' => 'POST'], - ['root' => '/references', 'name' => 'Reference#extract', 'url' => '/extract', 'verb' => 'POST'], - ['root' => '/references', 'name' => 'Reference#resolve', 'url' => '/resolve', 'verb' => 'POST'], + ['root' => '/references', 'name' => 'ReferenceApi#extract', 'url' => '/extract', 'verb' => 'POST'], + ['root' => '/references', 'name' => 'ReferenceApi#resolve', 'url' => '/resolve', 'verb' => 'POST'], ['root' => '/profile', 'name' => 'ProfileApi#setVisibility', 'url' => '/{targetUserId}', 'verb' => 'PUT'], |