Auto-reconnect

This commit is contained in:
gparant
2020-05-13 20:22:42 +02:00
parent dd5a0c9933
commit ec297e3912
7 changed files with 118 additions and 15 deletions
-1
View File
@@ -13,7 +13,6 @@ export function getMapKeyByUrl(mapUrlStart: string){
// FIXME: the key should be computed from the full URL of the map.
let startPos = mapUrlStart.indexOf('://')+3;
let endPos = mapUrlStart.indexOf(".json");
console.log('MAP KEY '+mapUrlStart.substring(startPos, endPos));
return mapUrlStart.substring(startPos, endPos);