mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 21:57:36 +08:00
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
Block a user