diff --git a/config/index.js b/config/index.js index 671cf22..7ef72dc 100644 --- a/config/index.js +++ b/config/index.js @@ -10,7 +10,7 @@ const config = { mongo: { accounts: { uri: process.env.MONGO_ACCOUNTS_URI || process.env.MONGO_URI || 'mongodb://localhost:27017/data', - collectionPrefix: process.env.MONGO_COLLECTION_PREFIX || 'eth' + collectionPrefix: process.env.MONGO_ACCOUNTS_COLLECTION_PREFIX || process.env.MONGO_COLLECTION_PREFIX || 'eth' }, data: { uri: process.env.MONGO_DATA_URI || process.env.MONGO_URI || 'mongodb://localhost:27017/data',