mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
d
This commit is contained in:
parent
b577cdacc4
commit
48691ef058
4 changed files with 20 additions and 3 deletions
|
|
@ -1561,7 +1561,6 @@ exports.PDFViewerApplication = PDFViewerApplication;
|
|||
}
|
||||
const fileOrigin = new URL(file, window.location.href).origin;
|
||||
if (fileOrigin !== viewerOrigin) {
|
||||
throw new Error("file origin does not match viewer's");
|
||||
}
|
||||
} catch (ex) {
|
||||
PDFViewerApplication.l10n.get("loading_error").then(msg => {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
1
searx/static/themes/magi/pdfjs/web/viewer.js.map
Normal file
1
searx/static/themes/magi/pdfjs/web/viewer.js.map
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue