Browse Source

modif app module

main
HenriBoulnois 5 years ago
parent
commit
9bfb56c479
  1. 1
      Procfile.txt
  2. 1
      README.md
  3. 7
      src/app.module.ts

1
Procfile.txt

@ -0,0 +1 @@
web: yarn start

1
README.md

@ -25,6 +25,7 @@ $ yarn start:prod
## Test
```bash
# unit tests
$ yarn test

7
src/app.module.ts

@ -18,6 +18,11 @@ import { TypeOrmModule, TypeOrmModuleOptions } from '@nestjs/typeorm';
entities: [__dirname + '/**/*.entity{.ts,.js}'],
synchronize: true,
logging: configService.isLoggingDb ? 'all' : false,
extra: {
ssl: {
rejectUnauthorized: false
},
},
}),
inject: [ConfigService],
}),
@ -25,4 +30,4 @@ import { TypeOrmModule, TypeOrmModuleOptions } from '@nestjs/typeorm';
controllers: [AppController],
providers: [AppService],
})
export class AppModule {}
export class AppModule {}
Loading…
Cancel
Save