Skip to content

Commit f48631b

Browse files
committed
fix: specify path for dotenvx configuration in non-production environments
1 parent 603bbc4 commit f48631b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import './module-alias-config';
22

33
if (process.env.NODE_ENV !== 'production') {
4-
require('@dotenvx/dotenvx').config();
4+
require('@dotenvx/dotenvx').config({ path: '.env' });
55
}
66

77
import { logger } from 'podverse-helpers';

0 commit comments

Comments
 (0)