Skip to content
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

Remove pdf.js CDN references #507

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Remove pdf.js CDN references #507

wants to merge 2 commits into from

Conversation

navzam
Copy link
Member

@navzam navzam commented Dec 5, 2024

Currently, for some pdf.js resources (like worker JS file and CSS file), we point to CDN URLs. This could cause problems in the future if we upgrade our pdf.js version without changing all the CDN URLs.

This PR removes the CDN references entirely and instead bundles the necessary files from pdfjs-dist directly.

There should be no change in behavior for users.

@navzam navzam requested a review from tcorbly December 5, 2024 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant