Skip to content

Commit

Permalink
fix: rename SENTRY_DSN environment variable to REACT_APP_SENTRY_DSN
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed Feb 28, 2024
1 parent 6b3ea25 commit ef275b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion local.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ REACT_APP_PLAUSIBLE_DOMAIN=app.local.terraso.org
REACT_APP_SHARED_DATA_ACCEPTED_EXTENSIONS=csv,doc,docx,pdf,ppt,pptx,xlsx,xls
REACT_APP_IMAGE_ACCEPTED_EXTENSIONS=jpeg,jpg
REACT_APP_MAPBOX_ACCESS_TOKEN=
REACT_APP_SENTRY_DSN=https://[email protected]/abcd
SENTRY_AUTH_TOKEN=sntrys_eyxxxxxxxxxxx
SENTRY_DSN=https://[email protected]/abcd
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const COOKIES_DOMAIN =

const COOKIES_PARAMS = { path: '/', domain: COOKIES_DOMAIN };

export const SENTRY_DSN = process.env.SENTRY_DSN;
export const SENTRY_DSN = process.env.REACT_APP_SENTRY_DSN || '';

setAPIConfig({
terrasoAPIURL: TERRASO_API_URL,
Expand Down

0 comments on commit ef275b5

Please sign in to comment.