FIX: backup upload when using subfolder
This commit is contained in:
parent
87a2024d61
commit
68c158d592
|
@ -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") }
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue