temporary fix for accumulated errors in local storage

This commit is contained in:
Jesse D. McDonald 2020-03-13 02:24:23 -05:00
parent 35354b0c93
commit 31b9bc70b3
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,10 @@
'use strict'; 'use strict';
var gun = Gun(['https://jessemcdonald.info/gun']);
var gun = Gun({
peers: ['https://jessemcdonald.info/gun'],
/* workaround for persistent errors accumulating which break synchronization */
localStorage: false,
});
let initialBoard = (function (){ let initialBoard = (function (){
var init = JSON.stringify({ var init = JSON.stringify({