Skip to content

Commit

Permalink
fix contextStorage settings (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Jan 13, 2019
1 parent a12a80d commit d9257ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon_files/redmatic/lib/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if (settings.contextStorage.default.module === 'localfilesystem') {
settings.contextStorage.default.module = 'file';
}

if (!['file', 'memory'].includes(settings.contextStorage.default.module)) {
if (settings.contextStorage.default.module !== 'file' && settings.contextStorage.default.module !== 'memory') {
settings.contextStorage.default.module = 'memory';
}

Expand Down

0 comments on commit d9257ba

Please sign in to comment.