fix: ERROR: Radisk needs store.put interface

This commit is contained in:
Andreas Heissenberger 2024-04-05 22:35:26 +02:00
parent 1c095b13e9
commit e03ae74bf4

View File

@ -83,7 +83,7 @@ Gun.on('create', function(root){
this.to.next(root);
var opt = root.opt;
if(opt.rfs === false){ return }
opt.store = opt.store || (!Gun.window || opt.rfs === true && Store(opt));
opt.store = opt.store || ((!Gun.window || opt.rfs === true) && Store(opt));
});
module.exports = Store;