Problem: Whenever there is a new build of pdf.worker.js, it breaks my page because the pdf.js that I load is older than the current pdf.worker.js.
If I include https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.0.246/pdf.min.js, it will then load http://mozilla.github.io/pdf.js/build/pdf.worker.js, which is now at 2.0.250. How can I pre-empt having pdf.js load pdf.worker.js and instead explicitly load both files from my server so that the versions will match forever until I update my html file?
Problem: Whenever there is a new build of pdf.worker.js, it breaks my page because the pdf.js that I load is older than the current pdf.worker.js.
If I include
https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.0.246/pdf.min.js, it will then load http://mozilla.github.io/pdf.js/build/pdf.worker.js, which is now at 2.0.250. How can I pre-empt having pdf.js load pdf.worker.js and instead explicitly load both files from my server so that the versions will match forever until I update my html file?