-
Notifications
You must be signed in to change notification settings - Fork 49
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
PDF not loading on Netlify but is OK on localhost #44
Comments
Hi @GerBreOwn . Could you please share a link to your repository and the file where you are trying to embed the pdf. |
gerbreown/epghoa is my github repository. The file is /content/Minutes/feb-26-minutes. When I look at your file "pdf.worker.js" I do not find any lines with "GlobalWorkerOptions" in them especially at line 124 like your instructions state. |
Let me take a look and get back to you. |
@GerBreOwn I am unable to find this repository https://github.com/gerbreown/epghoa. |
I am also seeing this issue, things work fine locally but I am getting a 404 |
Hi I m seeing the same issue, it works on localhost, it does not work on live. I host my website in aws s3. I can download the pdf file, it just keeps loading without showing.
|
I fixed my issue it was a very simple missing "/" in worker source url. It seems it is unrelated to OP's issue:
chnged to this:
|
Same issue here and successfully fixed according to your method. thx |
Describe the bug
A clear and concise description of what the bug is.
When I upload my site to Netlify the spinner keeps on spinning but at the localhost it loads in a very short time.
To Reproduce
Steps to reproduce the behavior:
Open page with the "hugo-embed-pdf-shortcode"
Expected behavior
A clear and concise description of what you expected to happen.
I expect to see the PDF file
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
I had installed it and the problem started where it was not loading on Netlify and had stopped loading on localhost. I then reinstalled it and it started reloading in localhost but not on Netlify.
I think I have read of other people having this problem with Netlify but I didn't see any solutions to the problem.
The text was updated successfully, but these errors were encountered: