Skip to content

Commit 8c2782c

Browse files
authored
use VERCEL_ENV variable rather than a custom one
1 parent aa0c5bb commit 8c2782c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docusaurus.config.en.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ const config = {
200200
theme: {
201201
customCss: [require.resolve("./src/css/custom.scss")],
202202
},
203-
...(process.env.VERCEL_PREVIEW !== '1' && {
203+
...(process.env.VERCEL_ENV !== 'preview' && {
204204
googleTagManager: {
205205
containerId: 'GTM-WTNTDT7W',
206206
},

0 commit comments

Comments
 (0)