summaryrefslogtreecommitdiffstats
path: root/webapp/components/view_image.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-04-08 18:06:35 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2016-04-08 18:06:35 -0400
commit3803750fb189880eb4c4b6d41fdca1e6f162b116 (patch)
tree9ed808fec09a7949b641a5b8effb99d30530ceb5 /webapp/components/view_image.jsx
parentdf77179eccffbb77f684abde45cac743f5d0b414 (diff)
downloadchat-3803750fb189880eb4c4b6d41fdca1e6f162b116.tar.gz
chat-3803750fb189880eb4c4b6d41fdca1e6f162b116.tar.bz2
chat-3803750fb189880eb4c4b6d41fdca1e6f162b116.zip
Changed getFile api call to always attach headers
Diffstat (limited to 'webapp/components/view_image.jsx')
-rw-r--r--webapp/components/view_image.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/view_image.jsx b/webapp/components/view_image.jsx
index 7572f88ae..3d3107d92 100644
--- a/webapp/components/view_image.jsx
+++ b/webapp/components/view_image.jsx
@@ -228,7 +228,7 @@ class ViewImageModal extends React.Component {
}
const filename = this.props.filenames[this.state.imgId];
- const fileUrl = Utils.getFileUrl(filename, true);
+ const fileUrl = Utils.getFileUrl(filename);
var content;
if (this.state.loaded[this.state.imgId]) {