Skip to content

Commit

Permalink
remove local storage
Browse files Browse the repository at this point in the history
  • Loading branch information
micrology committed May 20, 2024
1 parent dc62279 commit ff5187e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/prsm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ff5187e

Please sign in to comment.