From 68c158d5920ffcb76655d928fb80f5ca28c8d19d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 20 Jun 2016 17:37:24 +0200 Subject: [PATCH] FIX: backup upload when using subfolder --- app/assets/javascripts/admin/components/resumable-upload.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/admin/components/resumable-upload.js.es6 b/app/assets/javascripts/admin/components/resumable-upload.js.es6 index c71bdb4797c..ea2f02cfa05 100644 --- a/app/assets/javascripts/admin/components/resumable-upload.js.es6 +++ b/app/assets/javascripts/admin/components/resumable-upload.js.es6 @@ -60,7 +60,7 @@ const ResumableUploadComponent = Ember.Component.extend(Discourse.StringBuffer, _initialize: function() { this.resumable = new Resumable({ - target: this.get("target"), + target: Discourse.getURL(this.get("target")), maxFiles: 1, // only 1 file at a time headers: { "X-CSRF-Token": $("meta[name='csrf-token']").attr("content") } });