veliovgroup / jazeee-meteor-spiderable

Fork of Meteor Spiderable with longer timeout, caching, better server handling
https://atmospherejs.com/jazeee/spiderable-longer-timeout
33 stars 9 forks source link

Spiderable.ignoredRoutes is only available in server code #35

Closed imajus closed 8 years ago

imajus commented 8 years ago

You should either state in the readme that Spiderable.ignoredRoutes.push(…) must be in server-only code or provide a dummy value for client code. Currently I get Uncaught TypeError: Cannot read property 'push' of undefined on client in development mode which doesn't affect overall site behaviour but completely breaks the site down when deployed on production server.

dr-dimitru commented 8 years ago

This package is server only

imajus commented 8 years ago

That's not true, I had to set Meteor.isReadyForSpiderable = true; in client code.

dr-dimitru commented 8 years ago

Yes, you're right, minor part like isReadyForSpiderable and fragment meta-tag is set on Clientю

jazeee commented 8 years ago

Thanks for the clarification. I added a note to the readme.