From 3ee8f166a98def676ef61a5088ad1d3e6eedcf4f Mon Sep 17 00:00:00 2001 From: bymyself Date: Wed, 5 Nov 2025 21:11:05 -0700 Subject: [PATCH] fix: remove unused config file The SUPPORT_URL logic was moved inline in useCoreCommands.ts to support user email/ID prefilling. This removes the now-unused config file to fix the knip check. --- src/platform/support/config.ts | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/platform/support/config.ts diff --git a/src/platform/support/config.ts b/src/platform/support/config.ts deleted file mode 100644 index 77458ed16..000000000 --- a/src/platform/support/config.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { isCloud } from '@/platform/distribution/types' - -/** - * Zendesk ticket form field ID for the distribution tag. - * This field is used to categorize support requests by their source (cloud vs OSS). - */ -const DISTRIBUTION_FIELD_ID = 'tf_42243568391700' - -/** - * Support URLs for the ComfyUI platform. - * The URL varies based on whether the application is running in Cloud or OSS distribution. - * - * - Cloud: Includes 'ccloud' tag for identifying cloud-based support requests - * - OSS: Includes 'oss' tag for identifying open-source support requests - */ -const TAG = isCloud ? 'ccloud' : 'oss' -export const SUPPORT_URL = `https://support.comfy.org/hc/en-us/requests/new?${DISTRIBUTION_FIELD_ID}=${TAG}`