nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit ddb6f47c7cab1d7d1785cacaba60521164652303
parent 758449cad72cfc6c1adde63cd39a78fffea7aa2f
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Sun,  5 Mar 2017 13:44:50 +0300

Moved url to new to config.js

Diffstat:
Msrc/App.js | 2+-
Msrc/config.js | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/App.js b/src/App.js @@ -44,7 +44,7 @@ function setUp() { /////////// controls top-left corner - new L.Control.Caption(`<a href="http://about.nakarte.tk">News</a> | <a href=mailto:${config.email}">nakarte@nakarte.tk</a>`, { + new L.Control.Caption(`<a href="${config.newsUrl}">News</a> | <a href=mailto:${config.email}">nakarte@nakarte.tk</a>`, { position: 'topleft' } ).addTo(map); diff --git a/src/config.js b/src/config.js @@ -5,5 +5,6 @@ export default { westraDataBaseUrl: 'http://nakarte.tk/westraPasses/', CORSProxyUrl: 'http://proxy.nakarte.tk/', elevationsServer: 'http://elevation.nakarte.tk/', + newsUrl: 'http://about.nakarte.tk' thunderforestKey: 'cf99c28b955f493eb805df0e9f4c7c30' }