mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 10:35:16 +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
|
// create maps
|
||||||
if (settings.maps !== undefined){
|
if (settings.maps !== undefined){
|
||||||
let loadingPromises = settings.maps.map(mapId => {
|
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);
|
maps.push(map);
|
||||||
|
|
||||||
return map.loadSettings(this.mapViewer.tileCacheHash)
|
return map.loadSettings(this.mapViewer.tileCacheHash)
|
||||||
|
Loading…
Reference in New Issue
Block a user