Skip to content

Commit 0ef9a1e

Browse files
authored
fix: change mapbox token save my money (#993)
Signed-off-by: yihong0618 <[email protected]>
1 parent ce6d1b1 commit 0ef9a1e

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

README-CN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- For old data: To include `Elevation Gain` for past activities, perform a full reimport.
2323
- To show the 'Elevation Gain' column, modify `SHOW_ELEVATION_GAIN` in `src/utils/const.ts`
2424
- note: `Elevation Gain` may be inaccurate. You can use Strava's "Correct Elevation" or Garmin's "Elev Corrections" feature for more precise data.
25+
6. 请使用自己的 mapxbox token 参考这个 [issue](https://github.com/yihong0618/running_page/issues/643)
2526

2627
![running_page](https://socialify.git.ci/yihong0618/running_page/image?description=1&font=Inter&forks=1&issues=1&language=1&logo=https%3A%2F%2Fraw.githubusercontent.com%2Fshaonianche%2Fgallery%2Fmaster%2Frunning_page%2Frunning_page_logo_150*150.jpg&owner=1&pulls=1&stargazers=1&theme=Light)
2728

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- For old data: To include `Elevation Gain` for past activities, perform a full reimport.
2323
- To show the 'Elevation Gain' column, modify `SHOW_ELEVATION_GAIN` in `src/utils/const.ts`
2424
- note: `Elevation Gain` may be inaccurate. You can use Strava's "Correct Elevation" or Garmin's "Elev Corrections" feature for more precise data.
25+
6. It cost me a lot money, so please do not use my mapbox token more check this [issue](https://github.com/yihong0618/running_page/issues/643)
2526

2627
<p align="center">
2728
<img width="150" src="https://raw.githubusercontent.com/shaonianche/gallery/master/running_page/running_page_logo.png" />

src/utils/const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const MAPBOX_TOKEN =
33
// For security reasons, please avoid using the default public token provided by Mapbox as much as possible.
44
// Instead, manually add a new token and apply URL restrictions.
55
// (please refer to https://github.com/yihong0618/running_page/issues/643#issuecomment-2042668580)
6-
'pk.eyJ1IjoieWlob25nMDYxOCIsImEiOiJja2J3M28xbG4wYzl0MzJxZm0ya2Fua2p2In0.PNKfkeQwYuyGOTT_x9BJ4Q';
6+
'pk.eyJ1IjoieWlob25nMDYxOCIsImEiOiJjbWYxdXR4YncwMTJtMm5zOTE4eTZpMGdtIn0.OnsXdwkZFztR8a5Ph_T-xg';
77
const MUNICIPALITY_CITIES_ARR = [
88
'北京市',
99
'上海市',

0 commit comments

Comments
 (0)