desrciption

This commit is contained in:
LucaZanni committed 2024-07-11 10:15:57 +02:00
1 parent 8ba1a8dd12
commit 8f09e75494
1 file changed
+1 -1
+1 -1
View File
@@ -37,7 +37,7 @@ let envConfig = {};
const envExist = fs.existsSync(envPath);
if (envExist) {
dotenv.config({ path: envPath });
log("Loaded environment variables from the .env file");
log(`Loaded environment variables from the ${envPath} file`);
// Set default values for PORT and HOST if not defined
envConfig = dotenv.parse(fs.readFileSync(envPath));
log(`envConfig: ${JSON.stringify(envConfig)}`);