Skip to content

Commit

Permalink
Made API tokens private
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielle authored and gabrielle committed Sep 10, 2020
1 parent 2f81244 commit 4b13725
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

# testing
/coverage
.env.development

# production
/build
Expand Down
4 changes: 2 additions & 2 deletions src/Contentful.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {createClient} from "contentful";

export default createClient({
space: "hl4es7g922wz",
accessToken: "Errh7cG-wWZQqoCVC_X2Xq5jUArSd2g5vl-zZ7QdtX8"
space: process.env.REACT_APP_API_SPACE,
accessToken: process.env.REACT_APP_ACCESS_TOKEN
})

0 comments on commit 4b13725

Please sign in to comment.