Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
Update gatsby-config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pvpg authored May 13, 2021
1 parent de72fe5 commit fe403e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { prismicRepo, releaseID, accessToken } = require('./prismic-configuration')
const linkResolver = require('./src/utils/linkResolver')

const reponame = process.env.PRISMIC_REPO_NAME || prismicRepo
const repoName = process.env.PRISMIC_REPO_NAME || prismicRepo
const apiKey = process.env.PRISMIC_API_KEY || accessToken
const prismicReleaseID = process.env.PRISMIC_RELEASE_ID || releaseID

Expand All @@ -17,7 +17,7 @@ const productsSchema = require('./custom_types/products.json')
const gastbySourcePrismicConfig = {
resolve: 'gatsby-source-prismic',
options: {
repositoryName: reponame,
repositoryName: repoName,
accessToken: apiKey,
releaseID: prismicReleaseID,
prismicToolbar: true,
Expand Down

0 comments on commit fe403e7

Please sign in to comment.