eliminated h2096617.stratoserver.net
This commit is contained in:
parent
76e2618bbf
commit
8d5303b5ea
2 changed files with 4 additions and 4 deletions
|
|
@ -12,7 +12,7 @@
|
||||||
// TODO not included in permalink (better replace permalink with hash plugin)
|
// TODO not included in permalink (better replace permalink with hash plugin)
|
||||||
//BR.conf.transit = params.has('transit') && (params.get('transit') === 'true');
|
//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
|
// online service (brouter.de) configuration
|
||||||
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
'hiking-beta'
|
'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/';
|
BR.conf.profilesUrl = 'http://brouter.de/brouter/profiles2/';
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
// BRouter online demo interface
|
// BRouter online demo interface
|
||||||
// TODO remove or adopt to new structure (only supports two waypoints!)
|
// TODO remove or adopt to new structure (only supports two waypoints!)
|
||||||
var brouterCgi = (function() {
|
var brouterCgi = (function() {
|
||||||
// http://h2096617.stratoserver.net/cgi-bin/brouter.sh?coords=13.404681_52.520185_13.340278_52.512356_trekking_0
|
// 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://h2096617.stratoserver.net/cgi-bin/brouter.sh?coords={fromLng}_{fromLat}_{toLng}_{toLat}_{profile}_{alt}';
|
//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 URL_TEMPLATE = '/proxy.php?url=' + 'cgi-bin/brouter.sh?coords={fromLng}_{fromLat}_{toLng}_{toLat}_{profile}_{alt}';
|
||||||
var PRECISION = 6;
|
var PRECISION = 6;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue