mirror of
https://github.com/pierre42100/pdfviewer.communiquons.org
synced 2024-12-26 19:48:54 +00:00
Fix load issue
This commit is contained in:
parent
433a7a14a8
commit
4f32997501
@ -1898,7 +1898,7 @@ var validateFileURL = void 0;
|
||||
}
|
||||
var fileOrigin = new URL(file, window.location.href).origin;
|
||||
if (fileOrigin !== viewerOrigin) {
|
||||
throw new Error('file origin does not match viewer\'s');
|
||||
//throw new Error('file origin does not match viewer\'s');
|
||||
}
|
||||
} catch (ex) {
|
||||
var message = ex && ex.message;
|
||||
@ -10482,4 +10482,4 @@ _app.PDFPrintServiceFactory.instance = {
|
||||
exports.PDFPrintService = PDFPrintService;
|
||||
|
||||
/***/ })
|
||||
/******/ ]);
|
||||
/******/ ]);
|
||||
|
Loading…
Reference in New Issue
Block a user