From 74ab0030a6845661bb20bc1f82bfcd050efaab98 Mon Sep 17 00:00:00 2001 From: Huy Le Minh Date: Fri, 28 Apr 2023 13:06:04 +0700 Subject: [PATCH] Remove unused env --- .env.template | 2 -- src/infrastruture/configs/index.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/.env.template b/.env.template index 48f514d..ede33cc 100644 --- a/.env.template +++ b/.env.template @@ -1,5 +1,3 @@ -APP_ENV="development" -PROTOCOL="http" HOST="localhost" PORT=5001 # degub or info diff --git a/src/infrastruture/configs/index.js b/src/infrastruture/configs/index.js index 12b7abb..5d60344 100644 --- a/src/infrastruture/configs/index.js +++ b/src/infrastruture/configs/index.js @@ -2,8 +2,6 @@ import * as dotenv from "dotenv"; dotenv.config(); export const APP_CONFIG = { - appEnvironment: process.env.APP_ENV || "development", - appProtocol: process.env.PROTOCOL || "http", appHost: process.env.HOST || "localhost", appPort: process.env.PORT ? +process.env.PORT : 5001, logLevel: process.env.LOG_LEVEL || "debug",