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(){