backend: add .env.test configuration file for environment settings
This commit is contained in:
parent
72b83d2349
commit
ca59577fa5
4
backend/.env.test
Normal file
4
backend/.env.test
Normal file
@ -0,0 +1,4 @@
|
||||
USE_HTTPS=false
|
||||
MEET_LOG_LEVEL=error
|
||||
SERVER_CORS_ORIGIN=*
|
||||
MEET_WEBHOOK_ENABLED=false
|
||||
@ -7,6 +7,8 @@ if (process.env.MEET_CONFIG_DIR) {
|
||||
envPath = process.env.MEET_CONFIG_DIR;
|
||||
} else if (process.env.NODE_ENV === 'development') {
|
||||
envPath = '.env.development';
|
||||
} else if (process.env.NODE_ENV === 'test') {
|
||||
envPath = '.env.test';
|
||||
} else {
|
||||
envPath = undefined;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user