diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-16 21:19:35 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-24 11:24:18 +0100 |
commit | 0224c61530c2942549c277dae4e7e54bf8ad2328 (patch) | |
tree | b65c96183fa0cf621a4fa05e5d78b63a806526cb /core/routes.php | |
parent | f39f95e4e8232e7596857c9250ed883c4b8a3d8e (diff) | |
download | nextcloud-server-0224c61530c2942549c277dae4e7e54bf8ad2328.tar.gz nextcloud-server-0224c61530c2942549c277dae4e7e54bf8ad2328.zip |
Add preview endpoint for the fileid
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/routes.php b/core/routes.php index 1cb44e47d9d..0eed8ed1796 100644 --- a/core/routes.php +++ b/core/routes.php @@ -57,7 +57,7 @@ $application->registerRoutes($this, [ ['name' => 'TwoFactorChallenge#showChallenge', 'url' => '/login/challenge/{challengeProviderId}', 'verb' => 'GET'], ['name' => 'TwoFactorChallenge#solveChallenge', 'url' => '/login/challenge/{challengeProviderId}', 'verb' => 'POST'], ['name' => 'OCJS#getConfig', 'url' => '/core/js/oc.js', 'verb' => 'GET'], - ['name' => 'Preview#getPreview', 'url' => '/core/preview', 'verb' => 'GET'], + ['name' => 'Preview#getPreviewByFileId', 'url' => '/core/preview', 'verb' => 'GET'], ['name' => 'Preview#getPreview', 'url' => '/core/preview.png', 'verb' => 'GET'], ['name' => 'Css#getCss', 'url' => '/css/{appName}/{fileName}', 'verb' => 'GET'], ['name' => 'Js#getJs', 'url' => '/js/{appName}/{fileName}', 'verb' => 'GET'], |