Run refresh endpoint ENABLE_GATSBY_REFRESH_ENDPOINT

Hi,

site id: elated-hoover-b36a93
domain name: 3d.stage-rc.com

The refresh endpoint in my production not works, settings:

package.json:
“preview”: “cross-env ENABLE_GATSBY_REFRESH_ENDPOINT=true gatsby develop”

deploy settings:
Build command: npm run preview
Environment variables: ENABLE_GATSBY_REFRESH_ENDPOINT = true

what is wrong ?

It’s meant for local testing not production environment, thus Netlify won’t support it.

1 Like