Skip to content

Commit

Permalink
make DISABLE_ANALYTICS a boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
jthrilly committed Jan 10, 2024
1 parent 499ba3a commit e4529bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const env = createEnv({
.default('development'),
MAXMIND_ACCOUNT_ID: z.string(),
MAXMIND_LICENSE_KEY: z.string(),
DISABLE_ANALYTICS: z.string().optional(),
DISABLE_ANALYTICS: z.boolean().optional(),
},
/**
* You can't destruct `process.env` as a regular object in the Next.js edge runtimes (e.g.
Expand Down

0 comments on commit e4529bd

Please sign in to comment.