diff --git a/lib/store.js b/lib/store.js index 7c127d7e..c61e0cea 100644 --- a/lib/store.js +++ b/lib/store.js @@ -8,7 +8,7 @@ Gun.on('opt', function(ctx){ this.to.next(ctx); var opt = ctx.opt; if(ctx.once){ return } - if(false !== opt.localStorage){ return } // TODO: Remove this after migration. + if(false !== opt.localStorage && !process.env.AWS_S3_BUCKET){ return } // TODO: Remove this after migration. if(false === opt.radisk){ return } console.log("BUG WARNING: Radix Storage Engine (RSE) has a known rare edge case, if data gets split between file chunks, a GET may only return the first chunk!!!"); opt.store = opt.store || Store(opt);