🔧 refactor: Make MongoDB name optional in connection options

This commit is contained in:
Ruben Talstra 2025-05-29 16:21:52 +02:00
parent d7f4f8ef4a
commit cffd66054e
No known key found for this signature in database
GPG key ID: 2A5A7174A60F3BEA
2 changed files with 5 additions and 2 deletions

View file

@ -2,7 +2,7 @@
require('dotenv').config({ path: './test/.env.test' });
process.env.MONGO_URI = 'mongodb://127.0.0.1:27017/dummy-uri';
process.env.MONGO_DB_NAME = 'librechat-test'
process.env.MONGO_DB_NAME = 'librechat-test';
process.env.BAN_VIOLATIONS = 'true';
process.env.BAN_DURATION = '7200000';
process.env.BAN_INTERVAL = '20';