Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

PDFs not opening #61

@ghost

Description

PDF.js loads but the file doesn't.
I get these errors:

GET http://192.168.1.134:8090/static/reader/pdf/build/pdf.js 404 (Not Found)
viewer.html:1 Refused to execute script from 'http://192.168.1.134:8090/static/reader/pdf/build/pdf.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
pdfjs.js:23 Uncaught ReferenceError: require is not defined
    at Object.defineProperty.value (pdfjs.js:23)
    at __webpack_require__ (bootstrap 0c2d1d550f09a9601b09:19)
    at Object.pdfjsLib (ui_utils.js:16)
    at __webpack_require__ (bootstrap 0c2d1d550f09a9601b09:19)
    at Object.defineProperty.value (app.js:21)
    at __webpack_require__ (bootstrap 0c2d1d550f09a9601b09:19)
    at Object.<anonymous> (viewer.js:40)
    at __webpack_require__ (bootstrap 0c2d1d550f09a9601b09:19)
    at Object.defineProperty.value (bootstrap 0c2d1d550f09a9601b09:65)
    at bootstrap 0c2d1d550f09a9601b09:65

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions