Skip to content

Commit

Permalink
Merge pull request #29 from dadiorchen/restore
Browse files Browse the repository at this point in the history
extra slash
  • Loading branch information
dadiorchen authored Apr 2, 2021
2 parents 5d88838 + 9d09933 commit 8e8d455
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
REACT_APP_API=https://dev-k8s.treetracker.org/webmap/
REACT_APP_TILE_SERVER_URL=https://dev-k8s.treetracker.org/tiles
REACT_APP_TILE_SERVER_URL=https://dev-k8s.treetracker.org/tiles/
4 changes: 2 additions & 2 deletions src/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -963,14 +963,14 @@ var initialize = function() {
throw new Error("Tile server url isn't set");
}
new window.L.tileLayer(
baseURL_def + `${isFreetown?"/freetown":""}/{z}/{x}/{y}.png`,
baseURL_def + `${isFreetown?"freetown/":""}{z}/{x}/{y}.png`,
{
minZoom: 16,
maxZoom: 20,
}
).addTo(map);
utfGridLayer = new window.L.utfGrid(
baseURL_def + `${isFreetown?"/freetown":""}/{z}/{x}/{y}.grid.json`,
baseURL_def + `${isFreetown?"freetown/":""}{z}/{x}/{y}.grid.json`,
{
minZoom: 16,
maxZoom: 20,
Expand Down

0 comments on commit 8e8d455

Please sign in to comment.