-
Notifications
You must be signed in to change notification settings - Fork 108
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
Not getting rendered HTML; getting only SPA #14
Comments
l used create-react-app's webpack-dev-server,port is 3000 |
Hello, I started the Docker version of Headless Chrome exactly as in your docs and I started the rendora container like this:
This is my config.yaml:
I'm running an angular SPA from ./dist/ folder, served by a little Golang fileserver on port 80. Any idea, what I'm doing wrong? Is it possible to print out, where the rendora serve is listening and from which location it's fetching content? I can't really understand what is backend, target and listen. Thanx :) |
@LooneyDude You should type "http://0.0.0.0:3001" |
@zry754331875 Unfortunately that does not work either. |
Perhaps the title should be reworded to Not getting rendered HTML; getting only SPA I too have the same problem that not getting rendered outerHTML... but getting only the SPA HTML. So, it works in browser, but not for bots. Increasing Apologies @wpajqz @makemesteaks @MiguelFreire for tagging... but as you people seem to have active fork, do you have any insights to share? TIA Edit: It is |
Some notes as I search about this issue... (so that in case, if it helps anyone to come up with some solution or so) I searched for |
Some more notes Article from author https://hashnode.com/post/instantly-solving-seo-and-providing-ssr-for-modern-javascript-websites-independently-of-frontend-and-backend-stacks-cjpuy274b01br3zs1zr46awfz says Rendora in fact returns rendered HTML |
@rrjanbiah Thank you for your help.I will try it again |
@zry754331875 I'm also facing same issue.. not yet resolved for me... I'm just searching for solutions. If you find any please do share |
@rrjanbiah Did the above article have no effect? If I find a solution I will share it here. |
@zry754331875 Article only says that it will return rendered HTML.. which is not the case for me. I still have no luck. Thank you |
Some more observation
|
Finally, got it working!
I was getting filters:
userAgent:
defaultPolicy: whitelist That fixed the issue. Not sure if whitelisting all is the right approach.. but it works for now. Thanks for the nice library! @zry754331875 Hope this will work for you too! |
@zry754331875 Are you able to get it working? |
@rrjanbiah Sorry, I don't have time to try again. I will try your way when I have time. |
@zry754331875 Sure |
It`s work like a charm. |
@heat Glad to know it worked for you too. |
Have the same issue, what am I doing wrong? Config:
Doing |
@AlexanderTserkovniy Please check my note above on whitelisting useragents #14 (comment) That should work. |
When l choose display web page source code,it still spa.
The text was updated successfully, but these errors were encountered: