We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e33b1ea commit 1c3cf9dCopy full SHA for 1c3cf9d
2 files changed
gatsby/onInitialClientRender.js
@@ -51,7 +51,7 @@ export const onInitialClientRender = () => {
51
Promise.all([gapiPromise, gisPromise])
52
.then(([gapi, google]) => {
53
const SCOPES = "https://www.googleapis.com/auth/analytics.readonly"
54
- const clientId = process.env.GATSBY_GAPI_CLIENT_ID
+ const clientId = process.env.GAPI_CLIENT_ID
55
56
if (!clientId) {
57
console.error(
lib/scripts/check-config.ts
@@ -27,7 +27,7 @@ export const writeEnvFile = async (
27
const gapiLine =
28
config.gapiClientId === SKIP_QUESTION
29
? undefined
30
- : `GATSBY_GAPI_CLIENT_ID=${config.gapiClientId}`
+ : `GAPI_CLIENT_ID=${config.gapiClientId}`
31
const bitlyLine =
32
config.bitlyClientId === SKIP_QUESTION
33
0 commit comments