From edd014a830636575e2fa900604a49bef9de1ca16 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Wed, 7 Aug 2019 10:38:52 +0200 Subject: [PATCH] Run prettier --- config.template.js | 2 +- js/router/brouterCgi.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config.template.js b/config.template.js index bedbc30..a3520b2 100644 --- a/config.template.js +++ b/config.template.js @@ -11,7 +11,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' ) { + if (hostname === 'brouter.de') { // online service (brouter.de) configuration BR.conf.profiles = [ diff --git a/js/router/brouterCgi.js b/js/router/brouterCgi.js index 62d3155..53d9168 100644 --- a/js/router/brouterCgi.js +++ b/js/router/brouterCgi.js @@ -3,7 +3,9 @@ var brouterCgi = (function() { // 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 URL_TEMPLATE = + '/proxy.php?url=' + + 'cgi-bin/brouter.sh?coords={fromLng}_{fromLat}_{toLng}_{toLat}_{profile}_{alt}'; var PRECISION = 6; function getUrl(polyline) {