You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
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.
The text was updated successfully, but these errors were encountered: