Skip to content

The open alternative to Salesforce, designed for AI.

Fix env variable definition (#14434)

martmullbdf60b16807f
diff --git a/packages/twenty-server/src/engine/core-modules/twenty-config/config-variables.ts b/packages/twenty-server/src/engine/core-modules/twenty-config/config-variables.ts
index a2f7b033216..58eb5bff61e 100644
--- a/packages/twenty-server/src/engine/core-modules/twenty-config/config-variables.ts
+++ b/packages/twenty-server/src/engine/core-modules/twenty-config/config-variables.ts
@@ -973,11 +973,10 @@ export class ConfigVariables {
CLOUDFLARE_ZONE_ID: string;
@ConfigVariablesMetadata({
- group: ConfigVariablesGroup.ServerConfig,
- description: 'Base URL for public domains',
+ group: ConfigVariablesGroup.CloudflareConfig,
+ description: 'Zone ID for public domain Cloudflare integration',
type: ConfigVariableType.STRING,
})
- @IsUrl({ require_tld: false, require_protocol: true })
@ValidateIf((env) => env.PUBLIC_DOMAIN_URL)
CLOUDFLARE_PUBLIC_DOMAIN_ZONE_ID: string;