uploads: Remove legacy /json/upload_file endpoint.

This migrates Zulip to use the equivalent API endpoint that has been
present for a while.
This commit is contained in:
Tim Abbott
2017-07-31 11:52:17 -07:00
parent 1e5aee054b
commit 6a50e13156
5 changed files with 26 additions and 32 deletions

View File

@@ -871,7 +871,7 @@ exports.initialize = function () {
}
$("#compose").filedrop({
url: "/json/upload_file",
url: "/json/user_uploads",
fallback_id: "file_input",
paramname: "file",
maxfilesize: page_params.maxfilesize,