summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-05-23 10:50:44 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-20 08:53:37 +0200
commit366981fba6d01167c1ac38f559bd611062d8e534 (patch)
tree0025a9def17d24615e4cfa6f512870aa6d6b59fb /apps/files_sharing/appinfo
parent53a1b9a84e452bebfc701c93f32f44aefea87a2f (diff)
downloadnextcloud-server-366981fba6d01167c1ac38f559bd611062d8e534.tar.gz
nextcloud-server-366981fba6d01167c1ac38f559bd611062d8e534.zip
Move public preview endpoint over
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r--apps/files_sharing/appinfo/routes.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php
index 863b27da277..8e5110c6a16 100644
--- a/apps/files_sharing/appinfo/routes.php
+++ b/apps/files_sharing/appinfo/routes.php
@@ -34,13 +34,7 @@ return [
],
[
'name' => 'PublicPreview#getPreview',
- 'url' => '/publicpreview',
- 'verb' => 'GET',
- ],
-
- [
- 'name' => 'PublicPreview#getPreview',
- 'url' => '/ajax/publicpreview.php',
+ 'url' => '/publicpreview/{token}',
'verb' => 'GET',
],