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