Skip to content

Commit

Permalink
changing access token to env var
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrm committed Mar 26, 2020
1 parent fba29fb commit 05ed9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Map/constants.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const LAYER_NAME = 'networks-dots'
export const accessToken = 'pk.eyJ1IjoidG93bmhhbGxwcm9qZWN0IiwiYSI6ImNrN3d1c3hhdDA1MmozbW80cW5oOWxzcHoifQ.rq66iVpULeHVB6PutWiunA';
export const accessToken = process.env.REACT_APP_MAPBOX_API_KEY;
export const mapboxStyle = process.env.REACT_APP_MAPBOX_STYLE_URL;

0 comments on commit 05ed9f3

Please sign in to comment.