Skip to content

Commit

Permalink
docs(gatsby-source-wordpress): Update using-self-signed-certificates.…
Browse files Browse the repository at this point in the history
…md tutorial (#29360)
  • Loading branch information
TylerBarnes committed Feb 8, 2021
1 parent 0a42d07 commit 48c3e93
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ To solve this, you can disable Node.js' rejection of unauthorized certificates b
NODE_TLS_REJECT_UNAUTHORIZED=0
```

Please note that you need to add `dotenv`, as mentioned earlier, to expose environment variables in your gatsby-config.js or gatsby-node.js files.
Please note that you need to add `dotenv`, as mentioned in [this guide](https://www.gatsbyjs.com/docs/how-to/local-development/environment-variables/), to expose environment variables in your gatsby-config.js or gatsby-node.js files.

**CAUTION:** This should never be set in production. Always ensure that you disable `NODE_TLS_REJECT_UNAUTHORIZED` in development with `gatsby develop` only.

[dotenv]: https://github.com/motdotla/dotenv
[envvars]: https://www.gatsbyjs.org/docs/environment-variables
**CAUTION:** This should never be set in production. Always ensure that you only enable `NODE_TLS_REJECT_UNAUTHORIZED` in development with `gatsby develop`.

0 comments on commit 48c3e93

Please sign in to comment.