We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4fe134 commit 2904177Copy full SHA for 2904177
src/main.ts
@@ -1,6 +1,6 @@
1
// Load the .env file
2
import dotenv from 'dotenv';
3
-dotenv.config({ path: '.env', debug: true });
+dotenv.config({ path: '.env', debug: (NODE_ENV === 'development') });
4
5
// Imports for the server
6
import express from 'express';
0 commit comments