From 81f85de677f741b37ff28ecb1f38dc1bac797a0e Mon Sep 17 00:00:00 2001 From: Jerry Date: Sat, 3 May 2025 19:16:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9env?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env => .envExample | 0 .idea/crystelf-core.iml | 2 ++ src/utils/core/config.ts | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) rename .env => .envExample (100%) diff --git a/.env b/.envExample similarity index 100% rename from .env rename to .envExample diff --git a/.idea/crystelf-core.iml b/.idea/crystelf-core.iml index 24643cc..cca0cd4 100644 --- a/.idea/crystelf-core.iml +++ b/.idea/crystelf-core.iml @@ -5,6 +5,8 @@ + + diff --git a/src/utils/core/config.ts b/src/utils/core/config.ts index 2bd7bee..25c5e81 100644 --- a/src/utils/core/config.ts +++ b/src/utils/core/config.ts @@ -3,7 +3,7 @@ import logger from './logger'; class ConfigManger { private static instance: ConfigManger; - private env: NodeJS.ProcessEnv; + private readonly env: NodeJS.ProcessEnv; private constructor() { dotenv.config();