Skip to content

Commit

Permalink
fix: constant env
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasti810 committed Jan 9, 2025
1 parent 9c85a21 commit f3e6cf7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/constant/env.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
export const isProd = process.env.NODE_ENV === 'production';
export const isLocal = process.env.NODE_ENV === 'development';

export const showLogger = isLocal
? true
: process.env.NEXT_PUBLIC_SHOW_LOGGER === 'true' ?? false;
export const showLogger = isLocal ? true : process.env.NEXT_PUBLIC_SHOW_LOGGER === 'true' || false;

0 comments on commit f3e6cf7

Please sign in to comment.