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

PORTALS-3333 #5597

Merged
merged 3 commits into from
Dec 3, 2024
Merged

Conversation

jay-hodgson
Copy link
Member

Prebuilt PDF.js version, with one change. In src/main/webapp/pdf.js/web/viewer.html, added the following CSP

<meta
      http-equiv="Content-Security-Policy"
      content="frame-ancestors 'self' https://*.synapse.org localhost;"
    />

@jay-hodgson
Copy link
Member Author

Sanity check - locally able to render PDFs using the updated PDF.js:
Screenshot 2024-12-03 at 11 51 00 AM

@jay-hodgson jay-hodgson requested a review from nickgros December 3, 2024 21:44
@jay-hodgson jay-hodgson merged commit 443d4f3 into Sage-Bionetworks:develop Dec 3, 2024
3 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.

2 participants