From ee91ae7612c286b55202e8ce2dbd50957078143d Mon Sep 17 00:00:00 2001 From: Mark Nadal Date: Sun, 21 Jan 2018 05:32:35 -0800 Subject: [PATCH] Baby Rocklin!!! :D :) --- lib/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);