Fix map-data url-path having a double slash

This commit is contained in:
Lukas Rieger (Blue) 2024-11-17 19:38:00 +01:00
parent 083f950ff1
commit 572463dc71
No known key found for this signature in database
GPG Key ID: AA33883B1BBA03E6

View File

@ -307,7 +307,7 @@ export class BlueMapApp {
// create maps
if (settings.maps !== undefined){
let loadingPromises = settings.maps.map(mapId => {
let map = new BlueMapMap(mapId, settings.mapDataRoot + "/" + mapId + "/", settings.liveDataRoot + "/" + mapId + "/", this.loadBlocker, this.mapViewer.events);
let map = new BlueMapMap(mapId, settings.mapDataRoot + "/" + mapId, settings.liveDataRoot + "/" + mapId, this.loadBlocker, this.mapViewer.events);
maps.push(map);
return map.loadSettings(this.mapViewer.tileCacheHash)