diff --git a/vite.config.mts b/vite.config.mts index b005b3f7f..f1584ab9f 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -37,6 +37,7 @@ const VITE_OG_DESC = 'Bring your creative ideas to life with Comfy Cloud. Build and run your workflows to generate stunning images and videos instantly using powerful GPUs — all from your browser, no installation required.' const VITE_OG_IMAGE = `${VITE_OG_URL}/assets/images/og-image.png` const VITE_OG_KEYWORDS = 'ComfyUI, Comfy Cloud, ComfyUI online' + // Auto-detect cloud mode from DEV_SERVER_COMFYUI_URL const DEV_SERVER_COMFYUI_ENV_URL = process.env.DEV_SERVER_COMFYUI_URL const IS_CLOUD_URL = DEV_SERVER_COMFYUI_ENV_URL?.includes('.comfy.org')