From 8d5303b5ea3f260cff8074449795e8ce7097ff6f Mon Sep 17 00:00:00 2001 From: Brenschede Date: Mon, 5 Aug 2019 17:10:38 +0200 Subject: [PATCH] eliminated h2096617.stratoserver.net --- config.template.js | 4 ++-- js/router/brouterCgi.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.template.js b/config.template.js index 3b5f9ce..0b090c5 100644 --- a/config.template.js +++ b/config.template.js @@ -12,7 +12,7 @@ // TODO not included in permalink (better replace permalink with hash plugin) //BR.conf.transit = params.has('transit') && (params.get('transit') === 'true'); - if (hostname === 'brouter.de' || hostname === 'h2096617.stratoserver.net') { + if (hostname === 'brouter.de' ) { // online service (brouter.de) configuration @@ -36,7 +36,7 @@ 'hiking-beta' ]; - BR.conf.host = 'http://h2096617.stratoserver.net:443'; + BR.conf.host = 'http://brouter.de:443'; BR.conf.profilesUrl = 'http://brouter.de/brouter/profiles2/'; } else { diff --git a/js/router/brouterCgi.js b/js/router/brouterCgi.js index a0a8023..a49279c 100644 --- a/js/router/brouterCgi.js +++ b/js/router/brouterCgi.js @@ -1,8 +1,8 @@ // BRouter online demo interface // TODO remove or adopt to new structure (only supports two waypoints!) var brouterCgi = (function() { - // http://h2096617.stratoserver.net/cgi-bin/brouter.sh?coords=13.404681_52.520185_13.340278_52.512356_trekking_0 - //var URL_TEMPLATE = '/cgi-bin/proxy.cgi?url=' + 'http://h2096617.stratoserver.net/cgi-bin/brouter.sh?coords={fromLng}_{fromLat}_{toLng}_{toLat}_{profile}_{alt}'; + // http://brouter.de/cgi-bin/brouter.sh?coords=13.404681_52.520185_13.340278_52.512356_trekking_0 + //var URL_TEMPLATE = '/cgi-bin/proxy.cgi?url=' + 'http://brouter.de/cgi-bin/brouter.sh?coords={fromLng}_{fromLat}_{toLng}_{toLat}_{profile}_{alt}'; var URL_TEMPLATE = '/proxy.php?url=' + 'cgi-bin/brouter.sh?coords={fromLng}_{fromLat}_{toLng}_{toLat}_{profile}_{alt}'; var PRECISION = 6;