Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Mapbox token compromise #5577

Merged
merged 4 commits into from
Mar 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Updated Mapbox access token
ikem-legend committed Mar 25, 2024

Verified

This commit was signed with the committer’s verified signature.
ikem-legend Ikemefuna Obioha
commit 12ba0c6abcf549fb1cf326ab1b12c2312d9aef38
2 changes: 1 addition & 1 deletion src/modules/network/components/map/index.js
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ const getAttributionLinks = () => {

const getTiles = () =>
L.tileLayer(
'https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFudWxpZ2h0Y3VydmUiLCJhIjoiY2xodWVjYW52MGM0cDNobzYzZGRkOGU0dyJ9.aOMEZq0mbD6C-DgwU_ib_A',
'https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFudWxpZ2h0Y3VydmUiLCJhIjoiY2x1Nm8ybTVmMG9zMDJqbnZzNWoyZzc0bSJ9.4upFBJwPjObUVkzNwChDEw',
{
id: 'mapbox/streets-v11',
tileSize: 512,