Fix invalid maps

This commit is contained in:
_Bastler
2021-12-16 19:26:28 +01:00
parent 2132fc0323
commit ea49dafea4
2 changed files with 34 additions and 16 deletions
+3
View File
@@ -142,6 +142,9 @@ class LocalUserStore {
localStorage.getItem(lastRoomUrl) ?? window.location.protocol + "//" + window.location.host + START_ROOM_URL
);
}
removeLastRoomUrl(): void {
localStorage.removeItem(lastRoomUrl);
}
getLastRoomUrlCacheApi(): Promise<string | undefined> {
if (!("caches" in window)) {
return Promise.resolve(undefined);