mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 02:10:15 +01:00
update env vars for testing
This commit is contained in:
parent
50e36e67f0
commit
d7f4f8ef4a
2 changed files with 2 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# Test DB URI. You can use your actual MONGO_URI if you don't mind it potentially including test data.
|
||||
MONGO_URI=mongodb://127.0.0.1:27017/chatgpt-jest
|
||||
MONGO_DB_NAME=librechat-test
|
||||
|
||||
# Credential encryption/decryption for testing
|
||||
CREDS_KEY=c3301ad2f69681295e022fb135e92787afb6ecfeaa012a10f8bb4ddf6b669e6d
|
||||
|
|
|
|||
|
|
@ -2,6 +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.BAN_VIOLATIONS = 'true';
|
||||
process.env.BAN_DURATION = '7200000';
|
||||
process.env.BAN_INTERVAL = '20';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue