-
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
How to setup Rendora correctly? Rendora does not return api call results #16
Comments
So currently I have made something different and would like to ask if there is any better solution to my problem.
So i have:
Yes this is a working solution for me wether it's the best architecture or not but still I have a problem: Rendora returns static app layout in my vue project perfectly but for example I have popular products in the main page as main content which i am fetching with axios in project but the document that rendora returns doesn't include api called content. What is the reason of this? |
I solved my empty product results issue: My api calls are taking too much to display on DOM so rendora can't return products data because waitAfterDOMLoad was default 0ms. So you need to give some time to headless chrome to finish api calls and get data on the DOM. Thanks for Rendora, Great tool. |
I have set up a server for my vue project, I installed caddy to serve my files up and running and its working, according to rendora docs I have installed and started chrome headless browser and have rendora up and running too with this config options:
This is my Caddy config file:
when i check my netstat it looks like everything is ok but when i curl my website from my local terminal even my defaultPolicy is whitelist it doesn't return full html so i guess there is something wrong.
Is config files folder important? it is in the www.mywebsite folder with the dist/ folder. Is there a way besides curl-ing from my local to check rendora?
If it's not working what am i doing wrong?
The text was updated successfully, but these errors were encountered: