Move strava token to keys file (#132)
This commit is contained in:
parent
eaf0c672b5
commit
5751792b49
3 changed files with 6 additions and 6 deletions
|
|
@ -240,10 +240,10 @@
|
|||
drawToolbar = L.easyBar([drawButton, nogos.getButton(), deleteButton]).addTo(map);
|
||||
nogos.preventRoutePointOnCreate(routing);
|
||||
|
||||
if (BR.conf.stravaToken) {
|
||||
if (BR.keys.strava) {
|
||||
new L.Control.StravaSegments(
|
||||
{
|
||||
stravaToken: BR.conf.stravaToken
|
||||
stravaToken: BR.keys.strava
|
||||
})
|
||||
.addTo(map);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue