mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user