mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-21 18:16:09 +01:00
Fix map-data url-path having a double slash
This commit is contained in:
parent
083f950ff1
commit
572463dc71
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user