mirror of
https://github.com/pierre42100/pdfviewer.communiquons.org
synced 2024-12-27 12:08:50 +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;
|
||||
|
Loading…
Reference in New Issue
Block a user