add config module

This commit is contained in:
2025-06-12 18:12:21 +08:00
parent cb15a976f1
commit 92b93e2e89
2 changed files with 455 additions and 1133 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export class Env {
envs.push(
findUpSync([`.env.${EnvironmentType.DEVELOPMENT}`, `.env.${EnvironmentType.DEV}`]),
);
} else if (this.isProd) {
} else if (this.isProd()) {
envs.push(
findUpSync([`.env.${EnvironmentType.PRODUCTION}`, `.env.${EnvironmentType.PROD}`]),
);