From 463679afd3fd272bba89cb86a3c7c809c3652a61 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 8 Sep 2020 15:53:40 +0300 Subject: [PATCH] js tile baseurl update --- OsmAnd/assets/server/scripts/go.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/assets/server/scripts/go.js b/OsmAnd/assets/server/scripts/go.js index 6910c73046..5fe5df81b1 100644 --- a/OsmAnd/assets/server/scripts/go.js +++ b/OsmAnd/assets/server/scripts/go.js @@ -100,7 +100,7 @@ function toColor(num) { 'mapid':'map', 'maxzoom':20, 'maxnativezoom':19, - 'sourceurl':'https://tile.osmand.net/hd/{z}/{x}/{y}.png', + 'sourceurl': window.location.protocol + "//" + window.location.host + '/tile/{z}/{x}/{y}.png', 'attribution':'© OpenStreetMap contributors' }, config), init:function(){