-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Description
Short Notice from the maintainer
Describe the bug/problem
The issue is when you select a book and click "read in browser" the page would be blank and not load the pdf.
To Reproduce
Steps to reproduce the behavior:
- Select a book from your library
- Select to view in browser
Expected behavior
When clicking to read in browser for the pdf to load.
I fixed my issue by editing the source page: "C:\Calibre-Web_internal\cps\templates\readpdf.html" and changing pdf.mjs, viewer.mjs and pdf.worker.mjs to pdf.js, viewer.js and pdf.worker.js. Also copying the mjs files and saving as js files.
Error in the inspect page of browser said it was the wrong mime type. It was text/plain.