diff options
Diffstat (limited to 'webapp/components/file_attachment.jsx')
-rw-r--r-- | webapp/components/file_attachment.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/file_attachment.jsx b/webapp/components/file_attachment.jsx index f9c361afc..cba9d8288 100644 --- a/webapp/components/file_attachment.jsx +++ b/webapp/components/file_attachment.jsx @@ -102,7 +102,7 @@ class FileAttachment extends React.Component { getFileInfoFromName(name) { var fileInfo = utils.splitFileLocation(name); - fileInfo.path = utils.getWindowLocationOrigin() + Client.getFilesRoute() + '/get' + fileInfo.path; + fileInfo.path = Client.getFilesRoute() + '/get' + fileInfo.path; return fileInfo; } |