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

🎨 Set filename outside of PDFJSDev environment check #8

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

AuroraHuang22
Copy link
Collaborator

@AuroraHuang22 AuroraHuang22 commented Jul 15, 2024

Keep URL to trigger setting this.url

this.url = arg.originalUrl || arg.url
_docFilename = this._contentDispositionFilename || getPdfFilenameFromUrl(this.url);

Copy link
Member

@williamchong williamchong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be even better if the url is actually meaningful in some way

@nwingt nwingt merged commit 975f17f into likecoin:master Jul 29, 2024
6 of 7 checks passed
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.

3 participants