The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix(environment): Make SSL variables optional (#8843)
Antoine Moreaux7b2d9894f31b
diff --git a/packages/twenty-server/src/engine/core-modules/environment/environment-variables.ts b/packages/twenty-server/src/engine/core-modules/environment/environment-variables.tsindex 94e7a2a83d1..1fbc08d8727 100644--- a/packages/twenty-server/src/engine/core-modules/environment/environment-variables.ts+++ b/packages/twenty-server/src/engine/core-modules/environment/environment-variables.ts@@ -473,11 +473,11 @@ export class EnvironmentVariables {// SSL@IsString()- @ValidateIf((env) => env.SERVER_URL.startsWith('https'))+ @IsOptional()SSL_KEY_PATH: string;@IsString()- @ValidateIf((env) => env.SERVER_URL.startsWith('https'))+ @IsOptional()SSL_CERT_PATH: string;}