Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mjs file served with wrong mimetype #2

Open
joostlek opened this issue Nov 20, 2024 · 0 comments
Open

mjs file served with wrong mimetype #2

joostlek opened this issue Nov 20, 2024 · 0 comments

Comments

@joostlek
Copy link

Hello, after updating to the latest version today, I did notice that the PDF viewer did not load. In the console of my browser I see the following:

Loading module from “https://url.nl/wp-content/plugins/algori-pdf-viewer/dist/build/pdf.mjs” was blocked because of a disallowed MIME type (“”).

I haven't had this before, I am running wordpress 6.7, I did not test 1.0.8 with an older version of wordpress. When looking at your latest commit here, it seems that you went from .js to .mjs so maybe it has to do something with that.

Kind regards,

Joost

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant