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

Issue when pdfjs is not stored in server root #123

Open
Gramok opened this issue Oct 19, 2022 Discussed in #122 · 1 comment
Open

Issue when pdfjs is not stored in server root #123

Gramok opened this issue Oct 19, 2022 Discussed in #122 · 1 comment
Labels
bug Something isn't working

Comments

@Gramok
Copy link

Gramok commented Oct 19, 2022

Discussed in #122

Originally posted by Tsocin October 18, 2022
Hi - I'm trying to use qpdfviewer/pdfjs with a SPA which is hosted in a subfolder (e.g. https://test.local/myspa)

When opening a Pdf file with type=pdfjs it tries to load https://test.local/pdfjs/web/viewer.html?file=..... but it should use https://test.local/myspa/pdfjs/web/viewer.html=file=....

Can this be set in Quasar or qpdfviewer?

@Gramok
Copy link
Author

Gramok commented Oct 19, 2022

Possible solution added to discussion.

@nucle nucle added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants