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
Fix: respect baseURI for pdfjs worker URL #4865
Conversation
Was this from bringing that dependency internal that changed its location? |
Yes, precisely. Basically we now bundle our own PDF.js version and we have to specify the worker file location. But actually it might even be simpler to use a relative URL, I'm going to mark this as draft to check it out (build a new image). |
22ed89d
to
1c52eaf
Compare
Ok yea, fix is even simpler. Since we set the documentURI we just use a relative path (that’s what we did before, just now in a different place). just wanted to make sure the user who opened the above issue confirmed this solves it 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even easier, thanks!
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns. |
Proposed change
As usual, users always point out things not on my radar.
Fixes #4848
Type of change
Checklist:
pre-commit
hooks, see documentation.