diff --git a/packages/rocketchat-file-upload/server/lib/proxy.js b/packages/rocketchat-file-upload/server/lib/proxy.js index c5636478c757..d3a1be5c48d9 100644 --- a/packages/rocketchat-file-upload/server/lib/proxy.js +++ b/packages/rocketchat-file-upload/server/lib/proxy.js @@ -74,7 +74,7 @@ WebApp.connectHandlers.stack.unshift({ const options = { hostname: instance.extraInformation.host, port: instance.extraInformation.port, - path: req.url, + path: req.originalUrl, method: 'POST' };