Skip to content

Commit

Permalink
log prod env var
Browse files Browse the repository at this point in the history
  • Loading branch information
tedraykov committed Mar 29, 2022
1 parent b0b0e7c commit 95d3314
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/environment.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export function isProd() {
return process.env.NEXT_PUBLIC_ENV === 'production'
const env = process.env.NEXT_PUBLIC_ENV
console.log(`isProd: ${env}`)
return env === 'production'
}

1 comment on commit 95d3314

@vercel
Copy link

@vercel vercel bot commented on 95d3314 Mar 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.