// This deployment uses its Worker only on its own Space origin. // When copying the Space, replace both values with your own deployment. const CAM_DEPLOYMENT = { spaceOrigin: "https://saltiresoftware-coregx-cams.static.hf.space", workerUrl: "https://coregx-proxy.mis-c31.workers.dev/", }; window.CAM_STUDIO_CONFIG = { coregxProxyUrl: window.location.origin === CAM_DEPLOYMENT.spaceOrigin ? CAM_DEPLOYMENT.workerUrl : "", };