fix build
This commit is contained in:
parent
60c788cda5
commit
0e1f3a0725
@ -5,7 +5,7 @@ const env = process.env.GATSBY_ACTIVE_ENV || process.env.NODE_ENV || 'developmen
|
|||||||
if (env === 'production') {
|
if (env === 'production') {
|
||||||
posthog.init('HR8Gte105aCHNx2BqhL1XkbvH9kzKGptxjkbhuTj6Ek', { api_host: 'https://posthog.chuckdries.com' });
|
posthog.init('HR8Gte105aCHNx2BqhL1XkbvH9kzKGptxjkbhuTj6Ek', { api_host: 'https://posthog.chuckdries.com' });
|
||||||
}
|
}
|
||||||
exports.onRouteUpdate = function () {
|
export const onRouteUpdate = function () {
|
||||||
if (
|
if (
|
||||||
process.env.NODE_ENV === 'production' &&
|
process.env.NODE_ENV === 'production' &&
|
||||||
typeof window.plausible === 'object'
|
typeof window.plausible === 'object'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user