feat: allow self signed certificates with postgres connections (#5143)

This commit is contained in:
Quentin G
2024-04-25 16:29:07 +03:00
committed by GitHub
parent 11a7db5672
commit 806666d909
6 changed files with 24 additions and 0 deletions

View File

@ -103,6 +103,11 @@ export class EnvironmentVariables {
})
PG_DATABASE_URL: string;
@CastToBoolean()
@IsBoolean()
@IsOptional()
PG_SSL_ALLOW_SELF_SIGNED = false;
// Frontend URL
@IsUrl({ require_tld: false })
FRONT_BASE_URL: string;