diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-04-08 18:06:35 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-04-08 18:06:35 -0400 |
commit | 3803750fb189880eb4c4b6d41fdca1e6f162b116 (patch) | |
tree | 9ed808fec09a7949b641a5b8effb99d30530ceb5 /webapp/components/file_attachment.jsx | |
parent | df77179eccffbb77f684abde45cac743f5d0b414 (diff) | |
download | chat-3803750fb189880eb4c4b6d41fdca1e6f162b116.tar.gz chat-3803750fb189880eb4c4b6d41fdca1e6f162b116.tar.bz2 chat-3803750fb189880eb4c4b6d41fdca1e6f162b116.zip |
Changed getFile api call to always attach headers
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 6253e17e1..ccd4070aa 100644 --- a/webapp/components/file_attachment.jsx +++ b/webapp/components/file_attachment.jsx @@ -130,7 +130,7 @@ class FileAttachment extends React.Component { var filename = this.props.filename; var fileInfo = utils.splitFileLocation(filename); - var fileUrl = utils.getFileUrl(filename, true); + var fileUrl = utils.getFileUrl(filename); var type = utils.getFileType(fileInfo.ext); var thumbnail; |