summaryrefslogtreecommitdiffstats
path: root/webapp/components
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components')
-rw-r--r--webapp/components/file_attachment.jsx2
-rw-r--r--webapp/components/view_image.jsx2
2 files changed, 2 insertions, 2 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;
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]) {