summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webapp/components/pdf_preview.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/pdf_preview.jsx b/webapp/components/pdf_preview.jsx
index 790355561..09913afcf 100644
--- a/webapp/components/pdf_preview.jsx
+++ b/webapp/components/pdf_preview.jsx
@@ -84,7 +84,7 @@ export default class PDFPreview extends React.Component {
success: false
});
- PDFJS.getDocument(window.mm_config.SiteURL + props.fileUrl).then(this.onDocumentLoad);
+ PDFJS.getDocument(props.fileUrl).then(this.onDocumentLoad);
}
onDocumentLoad(pdf) {