fix: ERROR: Radisk needs store.put interface (#1374)

This commit is contained in:
Andreas Heissenberger 2024-04-15 21:42:03 +02:00 committed by GitHub
parent 1c095b13e9
commit 03735dc09c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;