gatsbyjs / wp-gatsby

WordPress plugin for gatsby-source-wordpress
Other
167 stars 41 forks source link

fix: Display error in browser when users preview on the wrong gatsby site #176

Closed TylerBarnes closed 3 years ago

TylerBarnes commented 3 years ago

This PR changes out preview status query so the preview loader can display an error if the Gatsby instance is configured to source data from a different WP instance.

Screen Shot 2021-07-05 at 11 53 59 AM Screen Shot 2021-07-05 at 12 18 19 PM

related: https://github.com/gatsbyjs/gatsby/pull/32251