Skip to content

Commit

Permalink
Remove google key and replace with env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
likimmy committed Feb 7, 2024
1 parent 22f7e69 commit 25f1469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/default-map-api-key.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function getDefaultMapApiKey(mapProvider) {
}
switch (mapProvider.toLowerCase()) {
case 'google':
return 'AIzaSyB5D45ghF1YMfqTLSzWubmlCN1euBVPhFw';
return process.env.GOOGLE_KEY;
case 'mapbox':
return process.env.MAPBOX_KEY;
default:
Expand Down

0 comments on commit 25f1469

Please sign in to comment.