Can't load foreign domain pdf using q-pdfviewer #14232
Unanswered
muthukumaran-m
asked this question in
Quasar App Extensions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have working in a scenerio to show the uploaded pdf to the users. I have added the quasar pdf viewer extension and using it. But the problem is the uploaded files are storing in the another domain (API). SO I want to use that domain to serve my pdf files. I am using the pdfjs as a viewer engine but I am getting an error as follows.
PDF.js v2.12.313 (build: a2ae56f39) Message: file origin does not match viewer'sI can see there are some allowed hosting domains listed in viewer.js. How can I add my url in it. This is a multi platform application for Android, IOS and web. Can anyone help me to get a solution for this problem.
Beta Was this translation helpful? Give feedback.
All reactions