diff --git a/js/prsm.js b/js/prsm.js index 52ba706..7d5c43c 100644 --- a/js/prsm.js +++ b/js/prsm.js @@ -398,11 +398,11 @@ function startY(newRoom) { room = generateRoom() checkMapSaved = true } else room = room.toUpperCase() - persistence = new IndexeddbPersistence(room, doc) + /* persistence = new IndexeddbPersistence(room, doc) // once the map is loaded, it can be displayed persistence.once('synced', () => { if (data.nodes.length > 0) displayNetPane(`${exactTime()} local content loaded`) - }) + }) */ // if using a non-standard port (i.e neither 80 nor 443) assume that the websocket port is 1234 in the same domain as the url if (url.port && url.port !== 80 && url.port !== 443) websocket = `ws://${url.hostname}:1234` wsProvider = new WebsocketProvider( diff --git a/package-lock.json b/package-lock.json index 9f05c2b..f6087ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "participatory-system-mapper", - "version": "2.2.4", + "version": "2.2.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "participatory-system-mapper", - "version": "2.2.4", + "version": "2.2.5", "license": "GPL-3.0-or-later", "dependencies": { "@egjs/hammerjs": "^2.0.17",