Skip to content

Commit

Permalink
Switch env variable to REACT_APP_DISABLE_REAL_CHANGESETS (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel committed Jan 2, 2024
1 parent efed24b commit e2ea1a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/config/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ export const mapboxAccessToken =
'pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJjam10OXpmc2YwMXI5M3BqeTRiMDBqMHVyIn0.LIcIDe3TZLSDdTWDoojzNg';
export const statusUrl =
'https://raw.githubusercontent.com/mapbox/osmcha-frontend/status/status.json';
export const enableRealChangesets = process.env.REACT_APP_ENABLE_REAL_CHANGESETS
? Boolean(process.env.REACT_APP_ENABLE_REAL_CHANGESETS)
: true;
export const enableRealChangesets = !process.env
.REACT_APP_DISABLE_REAL_CHANGESETS;

export const osmchaSocialTokenUrl = `${API_URL}/social-auth/`;
export const osmchaUrl = API_URL.replace('api/v1', '');
Expand Down

0 comments on commit e2ea1a2

Please sign in to comment.