ehowey / gatsby-theme-catalyst

An opinionated set of integrated themes and starters as a boilerplate to accelerate development with GatsbyJS
MIT License
163 stars 15 forks source link

(sanity): remove values from graphql nodes #1131

Closed ehowey closed 3 years ago

ehowey commented 3 years ago

Most theme values are added to the graphQL node. This removes sanityProjectId, sanityDataset, sanityToken, sanityOverlayDrafts, and sanityWatchmode from the configuration node for security purposes. This is not publicly available but I was concerned it could be exposed too easily and hence am removing those. You should only be using ENV variables for that data, especially the Token.