From 76373619dc6ca57b77349cc758cdee298bcfc4eb Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Thu, 19 Mar 2020 16:52:21 +0100 Subject: [PATCH] Trigger IndexedDB onupgradeneeded by increasing DB version --- client/src/utils/gameStorage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/utils/gameStorage.js b/client/src/utils/gameStorage.js index 514448b0..e26e19ab 100644 --- a/client/src/utils/gameStorage.js +++ b/client/src/utils/gameStorage.js @@ -19,7 +19,7 @@ import { store } from "@/store"; function dbOperation(callback) { let db = null; - let DBOpenRequest = window.indexedDB.open("vchess", 4); + let DBOpenRequest = window.indexedDB.open("vchess", 5); DBOpenRequest.onerror = function(event) { alert(store.state.tr["Database error: stop private browsing, or update your browser"]); -- 2.44.0