diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-05-23 10:50:44 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-20 08:53:37 +0200 |
commit | 366981fba6d01167c1ac38f559bd611062d8e534 (patch) | |
tree | 0025a9def17d24615e4cfa6f512870aa6d6b59fb /apps/files_sharing/appinfo | |
parent | 53a1b9a84e452bebfc701c93f32f44aefea87a2f (diff) | |
download | nextcloud-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.php | 8 |
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', ], |