Skip to content

Commit

Permalink
Merge pull request #7855 from Darkneon/fix-multi-instance-file-upload…
Browse files Browse the repository at this point in the history
…-url

[FIX] File upload on multi-instances using a path prefix
  • Loading branch information
rodrigok authored Aug 24, 2017
2 parents 474197e + 4093d2e commit 73d4b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-file-upload/server/lib/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
};

Expand Down

0 comments on commit 73d4b09

Please sign in to comment.