Oops.
This commit is contained in:
parent
10c6211cdf
commit
d50f4fdd7a
|
@ -18,7 +18,8 @@ export default Em.Mixin.create({
|
|||
|
||||
calculateUploadUrl() {
|
||||
return (
|
||||
+".json?client_id=" +
|
||||
getUrl(this.getWithDefault("uploadUrl", "/uploads")) +
|
||||
".json?client_id=" +
|
||||
(this.messageBus && this.messageBus.clientId) +
|
||||
"&authenticity_token=" +
|
||||
encodeURIComponent(Discourse.Session.currentProp("csrfToken"))
|
||||
|
|
Loading…
Reference in New Issue