Skip to content

Commit

Permalink
style(config): Update code formatting in config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
wajeht committed Aug 14, 2024
1 parent 07191e0 commit e6ee422
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { Env } from './types';

if (process.env.APP_ENV === 'production') {
dotenv.config({ path: path.resolve(path.join(process.cwd(), '..', '..', '..', '.env')) });
console.log('xxxxxxxxxxxxxx');
console.log(path.resolve(path.join(process.cwd(), '..', '..', '..', '.env')));
console.log('xxxxxxxxxxxxxx');
} else {
dotenv.config({ path: path.resolve(path.join(process.cwd(), '.env')) });
}
Expand Down

0 comments on commit e6ee422

Please sign in to comment.