FIX: backup upload when using subfolder

This commit is contained in:
Régis Hanol 2016-06-20 17:37:24 +02:00
parent 87a2024d61
commit 68c158d592
1 changed files with 1 additions and 1 deletions

View File

@ -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") }
});