diff --git a/src/utils/const.ts b/src/utils/const.ts index 7f218c2599b..e4a47573efe 100644 --- a/src/utils/const.ts +++ b/src/utils/const.ts @@ -1,6 +1,9 @@ // const const MAPBOX_TOKEN = - 'pk.eyJ1IjoiY3RrdWdpbiIsImEiOiJjbG9rdTltZWQwOHdyMmxzNnByMWp0dDV6In0.g1I0Xy6JqqlD7ZFv98xVpQ'; + // For security reasons, please avoid using the default public token provided by Mapbox as much as possible. + // Instead, manually add a new token and apply URL restrictions. + // (please refer to https://github.com/yihong0618/running_page/issues/643#issuecomment-2042668580) + 'pk.eyJ1IjoieWlob25nMDYxOCIsImEiOiJja2J3M28xbG4wYzl0MzJxZm0ya2Fua2p2In0.PNKfkeQwYuyGOTT_x9BJ4Q'; const MUNICIPALITY_CITIES_ARR = [ '北京市', '上海市', @@ -94,8 +97,7 @@ export { LIGHTS_ON, }; -// 224,237,94 -const nike = 'rgb(27,193,7)'; // if you want change the main color change here src/styles/variables.scss +const nike = 'rgb(224,237,94)'; // if you want change the main color change here src/styles/variables.scss // If your map has an offset please change this line // issues #92 and #198