contentful-labs / starter-gatsby-blog

Gatsby starter for a Contentful project from the community.
https://contentful.github.io/starter-gatsby-blog/
MIT License
195 stars 199 forks source link

fix:(netlify.toml) add missing env variable #193

Closed massao closed 2 years ago

massao commented 2 years ago

Add missing env var on Netlify.toml file

massao commented 2 years ago

Do we need this to build the site? I didn't fill it out and had no problem 🤔

I think that we don't need it for the build itself, but the user may want to use the preview_access_token, to have access to unpublished content. I'm only adding because whenever we create an access token we also create the preview one, so it's better to add the pair, instead of the user having to add one manually later.