-
Notifications
You must be signed in to change notification settings - Fork 1k
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
fix(web): improve Proxy check to avoid SSR problems #2851
Conversation
Just verified this with capacitor / nextjs build, all good 👍 |
I ran across the same issue when using Capacitor and Gatsby. |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be more portable.
Co-authored-by: dwieeb <[email protected]>
@IonicProSupport When should we expect this fix to be released? Because currently im having the same issue with Nuxt js, where Im on 'universal' mode, where since the first page need to be served from the server, the window is not defined. |
Fixed #2850
Solves server rendering issues by checking if
window
is actually defined (which is not the case when doing server rendering).