fix(contribution-service): add parent .env path for shared config
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
7a469be7cd
commit
01bd638dbb
|
|
@ -16,6 +16,7 @@ import { JwtAuthGuard } from './shared/guards/jwt-auth.guard';
|
||||||
envFilePath: [
|
envFilePath: [
|
||||||
`.env.${process.env.NODE_ENV || 'development'}`,
|
`.env.${process.env.NODE_ENV || 'development'}`,
|
||||||
'.env',
|
'.env',
|
||||||
|
'../.env', // 父目录共享 .env
|
||||||
],
|
],
|
||||||
ignoreEnvFile: false,
|
ignoreEnvFile: false,
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue