react-pdf-html
react-pdf-html copied to clipboard
Images are showing while downloading or view in other browser
Images are not showing while downloading the PDF or in any other browser except chrome.
I have changed how the images rendered in react-pdf-html with this:
Images with Image Urls are now showing perfectly fine only in chrome not in other browsers (not even while download the pdf using the chrome).
Used the S3 URLs for Images.
Interesting. In this case, what does 'Cache-Control': 'no-cache' achieve?
Same problem with firebase. Just fix it by
Latest code has 'Access-Control-Allow-Origin': '*'