Skip to content

Commit

Permalink
Fixed typo in env var for refresh endpoint (#22633)
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurjdam committed Mar 30, 2020
1 parent 7d0ddbe commit 1cfa511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/src/commands/develop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ async function startServer(program: IProgram): Promise<IServer> {

/**
* Refresh external data sources.
* This behavior is disabled by default, but the ENABLE_REFRESH_ENDPOINT env var enables it
* This behavior is disabled by default, but the ENABLE_GATSBY_REFRESH_ENDPOINT env var enables it
* If no GATSBY_REFRESH_TOKEN env var is available, then no Authorization header is required
**/
const REFRESH_ENDPOINT = `/__refresh`
Expand Down

0 comments on commit 1cfa511

Please sign in to comment.