diff --git a/Procfile.txt b/Procfile.txt new file mode 100644 index 0000000..709e0a2 --- /dev/null +++ b/Procfile.txt @@ -0,0 +1 @@ +web: yarn start \ No newline at end of file diff --git a/README.md b/README.md index bd13eca..3ffbde7 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ $ yarn start:prod ## Test ```bash + # unit tests $ yarn test diff --git a/src/app.module.ts b/src/app.module.ts index ec33692..35d4026 100644 --- a/src/app.module.ts +++ b/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 {} \ No newline at end of file