Skip to content

Commit

Permalink
Revert to use of relative paths for map tiles url.
Browse files Browse the repository at this point in the history
Ensure operation behind proxy is not impacted.
  • Loading branch information
panaaj committed Sep 29, 2024
1 parent a0b4909 commit a037b1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/expected-charts.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"minzoom": 3,
"name": "MBTILES_19",
"scale": 250000,
"tilemapUrl": "http://localhost:3000/chart-tiles/test/{z}/{x}/{y}",
"tilemapUrl": "/chart-tiles/test/{z}/{x}/{y}",
"type": "tilelayer"
},
"tms-tiles": {
Expand All @@ -32,7 +32,7 @@
"minzoom": 4,
"name": "Översikt Svenska Sjökort",
"scale": 4000000,
"tilemapUrl": "http://localhost:3000/chart-tiles/tms-tiles/{z}/{x}/{y}",
"tilemapUrl": "/chart-tiles/tms-tiles/{z}/{x}/{y}",
"type": "tilelayer"
},
"unpacked-tiles": {
Expand All @@ -50,7 +50,7 @@
"minzoom": 3,
"name": "NOAA MBTiles test file",
"scale": 250000,
"tilemapUrl": "http://localhost:3000/chart-tiles/unpacked-tiles/{z}/{x}/{y}",
"tilemapUrl": "/chart-tiles/unpacked-tiles/{z}/{x}/{y}",
"type": "tilelayer"
}
}

0 comments on commit a037b1c

Please sign in to comment.