Add support for SSL in development (#5668)

This commit is contained in:
Tom Moor
2023-08-09 07:21:41 -04:00
committed by GitHub
parent 454a4e9a8d
commit c32cec7bff
12 changed files with 75 additions and 27 deletions

View File

@@ -162,7 +162,7 @@ export class Environment {
*/
@IsNumber()
@IsOptional()
public PORT = this.toOptionalNumber(process.env.PORT);
public PORT = this.toOptionalNumber(process.env.PORT) ?? 3000;
/**
* Optional extra debugging. Comma separated