Skip to content

Commit

Permalink
Added comments on local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
avelynhc committed Jul 23, 2023
1 parent df425ec commit 59e48c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/model/data/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// If the environment sets an AWS Region, we'll use AWS backend
// services (S3, DynamoDB); otherwise, we'll use an in-memory db.
module.exports = process.env.AWS_REGION ? require('./aws') : require('./memory');
module.exports = process.env.AWS_REGION ? require('./aws') : require('./memory');

// testing locally
// module.exports = require('./memory');

0 comments on commit 59e48c8

Please sign in to comment.