Skip to content
This repository has been archived by the owner on Nov 17, 2024. It is now read-only.

Commit

Permalink
fix: web config
Browse files Browse the repository at this point in the history
  • Loading branch information
JClackett committed Oct 30, 2022
1 parent 6be394a commit a4c5fe8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ module.exports = withSentryConfig(
{
reactStrictMode: false,
env: {
VERCEL_GIT_PULL_REQUEST_NUMBER: process.env.VERCEL_GIT_PULL_REQUEST_NUMBER,
NEXT_PUBLIC_PULL_REQUEST_NUMBER: process.env.VERCEL_GIT_PULL_REQUEST_NUMBER,
NEXT_PUBLIC_APP_ENV: process.env.NEXT_PUBLIC_APP_ENV,
},
},
sentryWebpackPluginOptions,
Expand Down
4 changes: 2 additions & 2 deletions packages/web/src/lib/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const IS_PRODUCTION = process.env.NEXT_PUBLIC_APP_ENV === "production"
export const IS_STAGING = process.env.NEXT_PUBLIC_APP_ENV === "staging"
export const IS_TEST = process.env.NEXT_PUBLIC_APP_ENV === "test"
export const IS_DEV = !IS_TEST && !IS_STAGING && !IS_PRODUCTION

export const IS_DEV = !IS_STAGING && !IS_PRODUCTION

export const SENTRY_DSN = "https://[email protected]/5741383"

Expand Down

0 comments on commit a4c5fe8

Please sign in to comment.