relocate and rename Storage.js. implement a simple, non-persistent in memory datastore for those who'd rather not bother with mongodb. Continue to default to previous values.

This commit is contained in:
ansuz
2015-10-25 19:35:25 -04:00
parent 05ce2695b2
commit 3928c89d35
5 changed files with 65 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
module.exports = {
httpPort: 3000,
websocketPort: 3001,
storage: './storage/mongo',
mongoUri: "mongodb://demo_user:demo_password@ds027769.mongolab.com:27769/demo_database",
// mongoUri: "mongodb://localhost:27017/cryptpad",
mongoCollectionName: 'cryptpad',