-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Allow overriding pdfjs.GlobalWorkerOptions.workerSrc #180
Comments
I found workaround: 1) In file
2) In file
and add after (instead of) it this line:
3) Put |
That is not a workaround. That requires making changes to the module itself. |
Yes, but it works. There is always a choice: allow external requests or do something. When external requests are not allowed, then there is no choice. |
How about adding an option to this library? |
I would love to, but unfortunately there is no such opportunity. |
@Janhouse |
Could we somehow pass the value of pdfjs.GlobalWorkerOptions.workerSrc to the component? It is currently hardcoded to a CDN and I do not want to make outside requests.
The text was updated successfully, but these errors were encountered: