Skip to content
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

Check if prerendering #4

Closed
nicooprat opened this issue Nov 5, 2017 · 3 comments
Closed

Check if prerendering #4

nicooprat opened this issue Nov 5, 2017 · 3 comments

Comments

@nicooprat
Copy link

(Using Meteor) How can I check whether the code is currently being prerendered or not? Something like location.href.indexOf('?_escaped_fragment_=')? Thanks.

@dr-dimitru
Copy link
Member

Hello @nicooprat ,

Not possible for right now. As we pretend to be a regular browser as much as possible.
We will add this feature in next release.

@dr-dimitru
Copy link
Member

Hello @nicooprat ,

Sorry for delay with this one.
Now it's possible, see docs:

Thank you a lot for contribution 👍
Feel free to close if this solution fits your needs.

@nicooprat
Copy link
Author

Thanks to you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants