Skip to content

Commit

Permalink
fix: restore react-app-env.d.ts and change typeorm ssl config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozwiaczek committed Mar 1, 2021
1 parent 40c1d87 commit 4849224
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/ormconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const config = {
migrationsTransactionMode: 'each',
migrations: ['./src/modules/database/migrations/*.ts'],
cli: { migrationsDir: './src/modules/database/migrations' },
ssl: NODE_ENV !== 'development',
ssl: NODE_ENV === 'development' ? false : { rejectUnauthorized: false },
};

module.exports = config;
File renamed without changes.

0 comments on commit 4849224

Please sign in to comment.