Fix load issue

This commit is contained in:
Pierre Hubert 2018-08-20 16:58:27 +02:00
parent 433a7a14a8
commit 4f32997501

View File

@ -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;
/***/ })
/******/ ]);
/******/ ]);