perf: 优化代码
This commit is contained in:
@@ -10,7 +10,7 @@ import { validateEnvironment } from './env.validation';
|
||||
isGlobal: true,
|
||||
load: [databaseConfig],
|
||||
validate: validateEnvironment,
|
||||
envFilePath: ['.env', '.env.local', '.env.production'],
|
||||
envFilePath: ['.env.local', '.env.production', '.env'],
|
||||
}),
|
||||
],
|
||||
exports: [ConfigModule],
|
||||
|
||||
Reference in New Issue
Block a user