Creating a config folder and moving the ‘env’ files

This commit is contained in:
2026-03-21 02:23:36 +01:00
parent 571276253c
commit ace057d379
8 changed files with 48 additions and 102 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
// Load environment variables from .env file
const appEnv = process.env.APP_ENV || 'development';
require('dotenv').config({ path: `.env.${appEnv}` });
require('dotenv').config({ path: `config/env/.env.${appEnv}` });
module.exports = {
"development": {