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

Solve problem with file previewing for PDF and CSV #50

Open
vgranata opened this issue Mar 28, 2024 · 2 comments
Open

Solve problem with file previewing for PDF and CSV #50

vgranata opened this issue Mar 28, 2024 · 2 comments
Assignees

Comments

@vgranata
Copy link
Contributor

No description provided.

@vgranata
Copy link
Contributor Author

This can be done after production.

@vgranata vgranata assigned vgranata and unassigned liotf Mar 28, 2024
@vgranata vgranata added this to the After production milestone Mar 28, 2024
@vgranata
Copy link
Contributor Author

vgranata commented Apr 8, 2024

The previewer for pdf and csv files is not working:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource
(Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

For the moment we remove "csv_papaparsejs" and "pdfjs" from PREVIEWER_PREFERENCE (https://github.com/inveniosoftware/invenio-previewer/blob/457ade3d2480523749d9d0b73faf9567c69d7452/invenio_previewer/config.py#L35)

@vgranata vgranata changed the title Check better support for file previewing (e.g., PDF) Check better support for file previewing for PDF and CSV Apr 8, 2024
@vgranata vgranata changed the title Check better support for file previewing for PDF and CSV Solve problem with file previewing for PDF and CSV Apr 8, 2024
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

No branches or pull requests

2 participants