Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-09-12 21:25:34 +0300
committerOlivier Paroz <github@oparoz.com>2015-09-12 21:25:34 +0300
commit1dc647122a5e6971b25ad687812e03518eb40c7a (patch)
treebcd548b9069ba4a782791195722da665e655275b /js/galleryfileaction.js
parentec9be244d488b924432c45686b0255adede8d215 (diff)
Fix public download URLs
Diffstat (limited to 'js/galleryfileaction.js')
-rw-r--r--js/galleryfileaction.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/galleryfileaction.js b/js/galleryfileaction.js
index c1953f9f..065fe55d 100644
--- a/js/galleryfileaction.js
+++ b/js/galleryfileaction.js
@@ -112,7 +112,7 @@
requesttoken: oc_requesttoken
};
downloadUrl =
- galleryFileAction.buildGalleryUrl('files/download', '/' + file.id, params);
+ galleryFileAction.buildGalleryUrl('files', '/download' + file.id, params);
images.push({
name: file.name,