dfischer / meteor-prerenderio

A meteor wrapper for https://prerender.io/
56 stars 9 forks source link

testing with http://service.prerender.io not successful #33

Closed dongzhi-yang closed 7 years ago

dongzhi-yang commented 7 years ago

HI I am implementing prerenderio on my app with angular-meteor at front end and meteor at back end. i followed every step to test it locally according the prerender's website,however, the test is successful with a local prerender server, but failed when i use the prerender service url service.prerender.io/

None of the pages got cached by the service url, and if I access the page by localhost:3000/products?_escapedfragment=, it returns, empty page. but if I use a local prerender server , the page localhost:3000/products?_escapedfragment= is returned ok.

So I think it is not a problem with my page, but definitely something is off.

dongzhi-yang commented 7 years ago

Hi dfischer,

The issue has been fixed now with the help of prerenderio support. The trick is to set the host parameter of prerenderio to your real host.