Fix PDF preview urls (#6976)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
41969ae66c
Коммит
a350f4dc07
@@ -84,7 +84,7 @@ export default class PDFPreview extends React.Component {
|
|||||||
success: false
|
success: false
|
||||||
});
|
});
|
||||||
|
|
||||||
PDFJS.getDocument(window.mm_config.SiteURL + props.fileUrl).then(this.onDocumentLoad);
|
PDFJS.getDocument(props.fileUrl).then(this.onDocumentLoad);
|
||||||
}
|
}
|
||||||
|
|
||||||
onDocumentLoad(pdf) {
|
onDocumentLoad(pdf) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user