mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 07:30:11 +00:00
Fix environment variable access for Vite compatibility
Changed from process.env to import.meta.env in src/config/comfyDomain.ts to fix CI timeout in i18n collection script. In Vite, process.env is not available and causes initialization issues.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* Forkers can change the base domain to use their own
|
||||
*/
|
||||
export const COMFY_BASE_DOMAIN =
|
||||
process.env.VITE_COMFY_BASE_DOMAIN || 'comfy.org'
|
||||
import.meta.env.VITE_COMFY_BASE_DOMAIN || 'comfy.org'
|
||||
|
||||
const WEBSITE_BASE_URL = `https://www.${COMFY_BASE_DOMAIN}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user