Skip to content
Discussion options

You must be logged in to vote

Your nginx is serving the .mjs PDF worker file as application/octet-stream (the Proxmox helper script's MIME edit doesn't take effect on all installs), which the browser refuses to execute as an ES module

A quick fix:
run sudo sed -i 's|application/javascript\s\+js;|application/javascript js mjs;|' /etc/nginx/mime.types && sudo systemctl

reload nginx inside your container a permanent fix that bypasses this entirely is shipping in the next BentoPDF release.

Replies: 3 comments 16 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
16 replies
@Freak-On-Silicon
Comment options

@alam00000
Comment options

@Freak-On-Silicon
Comment options

@alam00000
Comment options

Answer selected by Freak-On-Silicon
@Freak-On-Silicon
Comment options

@dkutan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants