re-disable GUN local storage
This commit is contained in:
parent
51ee683bad
commit
8e66eb3537
|
|
@ -1,9 +1,13 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
$(function (){
|
$(function (){
|
||||||
|
/* workaround for persistent errors accumulating which break synchronization */
|
||||||
|
if ('localStorage' in window) {
|
||||||
|
window.localStorage.removeItem('gun/');
|
||||||
|
window.localStorage.removeItem('gap/gun/');
|
||||||
|
}
|
||||||
|
|
||||||
let gun = Gun({
|
let gun = Gun({
|
||||||
peers: ['https://jessemcdonald.info/gun'],
|
peers: ['https://jessemcdonald.info/gun'],
|
||||||
/* workaround for persistent errors accumulating which break synchronization */
|
|
||||||
//localStorage: false,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const PS = window.PacoSako;
|
const PS = window.PacoSako;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue