You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mapbox access token is needed to download maps from mapbox. We currently hardcode an access token in our source code.
Problem
Mapbox charges based on downloads associated with access tokens. Due to our access token being available in our source code, anyone can copy and paste our access token, and Digital Democracy will be charged for those downloads.
In order to solve this, we can hide the access token and have it injected into the app in the dev and production builds.
The mapbox access token is needed to download maps from mapbox. We currently hardcode an access token in our source code.
Problem
Mapbox charges based on downloads associated with access tokens. Due to our access token being available in our source code, anyone can copy and paste our access token, and Digital Democracy will be charged for those downloads.
In order to solve this, we can hide the access token and have it injected into the app in the dev and production builds.
#Proposed solution
The text was updated successfully, but these errors were encountered: