Skip to content

Commit

Permalink
refactor(#317) .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
2swo committed Mar 13, 2024
2 parents 52516a9 + 4809188 commit ff9d26d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,9 @@ web_modules/
.yarn-integrity

# dotenv environment variable files
.env
.development.env
.production.env
.env.production.local
.local.env
.env.local
.env.development
.env.production

# parcel-bundler cache (https://parceljs.org/)
.cache
Expand Down
2 changes: 1 addition & 1 deletion src/core/app-config/app-config.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import * as Joi from 'joi';
@Module({
imports: [
ConfigModule.forRoot({
envFilePath: '.*.env',
envFilePath: ['.env.local', '.env.development', '.env.production'],
validationSchema: Joi.object({
[ENV_KEY.PORT]: Joi.number().default(3000),
[ENV_KEY.NODE_ENV]: Joi.string()
Expand Down

0 comments on commit ff9d26d

Please sign in to comment.