You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to gatsbyjs/gatsby#10328, setting an env var ENABLE_GATSBY_REFRESH_ENDPOINT=true while running gatsby develop will configure the develop server to re-source data when it receives a POST request to /__refresh.
Based on your documentation on setting up LivePreview in local development, this endpoint needs to be added to the Preview Webhook URL of this Helper. However, this triggers a Get Request which will 404 on the development server, since Gatsby will only accepts a Post request.
Steps to reproduce
Install Gatsby 3.7.1 and gatsby-source-graphql 3.8.0
Description
According to gatsbyjs/gatsby#10328, setting an env var
ENABLE_GATSBY_REFRESH_ENDPOINT=true
while runninggatsby develop
will configure the develop server to re-source data when it receives a POST request to/__refresh
.Based on your documentation on setting up LivePreview in local development, this endpoint needs to be added to the
Preview Webhook URL
of this Helper. However, this triggers a Get Request which will 404 on the development server, since Gatsby will only accepts a Post request.Steps to reproduce
/__refresh
calls produce 404 errors because they are not Post requestsAdditional info
The text was updated successfully, but these errors were encountered: