Skip to content

pdf.worker.js version mismatch #9337

Description

@svenyonson

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions