Make privacy policy URL configurable (#284)

This commit is contained in:
Norbert Renner 2020-05-28 10:04:16 +02:00
parent 01e7fd7144
commit e5e876f717
5 changed files with 11 additions and 4 deletions

View file

@ -426,7 +426,9 @@
},
function(err, t) {
jqueryI18next.init(i18next, $);
$('html').localize();
$('html').localize({
privacyPolicyUrl: BR.conf.privacyPolicyUrl || 'https://brouter.de/privacypolicy.html'
});
mapContext = BR.Map.initMap();
verifyTouchStyle(mapContext);