diff --git a/enclave-manager/web/packages/app/src/client/constants.ts b/enclave-manager/web/packages/app/src/client/constants.ts index 48b733f46c..611db59ae2 100644 --- a/enclave-manager/web/packages/app/src/client/constants.ts +++ b/enclave-manager/web/packages/app/src/client/constants.ts @@ -2,7 +2,8 @@ import { isDefined } from "kurtosis-ui-components"; // Configurable: export const KURTOSIS_CLOUD_PROTOCOL = "https"; -export const KURTOSIS_CLOUD_HOST = "cloud.kurtosis.com"; +// export const KURTOSIS_CLOUD_HOST = "cloud.kurtosis.com"; +export const KURTOSIS_CLOUD_HOST = "preview.kurtosis.com"; export const KURTOSIS_CLOUD_CONNECT_PAGE = "connect"; export const KURTOSIS_CLOUD_EM_PAGE = "enclave-manager"; diff --git a/enclave-manager/web/packages/app/src/emui/enclaves/components/tables/PortsTable.tsx b/enclave-manager/web/packages/app/src/emui/enclaves/components/tables/PortsTable.tsx index 486bb5fa5c..ae38e33e8f 100644 --- a/enclave-manager/web/packages/app/src/emui/enclaves/components/tables/PortsTable.tsx +++ b/enclave-manager/web/packages/app/src/emui/enclaves/components/tables/PortsTable.tsx @@ -36,9 +36,13 @@ export const getPortTableRows = ( `${port.number}-${shortUUID(serviceUUID)}-${shortUUID(enclaveUUID)}-${shortUUID(instanceUUID)}` + `.${KURTOSIS_CLOUD_HOST}`; } else { - link = `${port.maybeApplicationProtocol ? port.maybeApplicationProtocol + "://" : ""}${publicIp}:${ - publicPorts[name].number - }`; + link = + `${KURTOSIS_CLOUD_PROTOCOL}://` + + `${port.number}-${shortUUID(serviceUUID)}-${shortUUID(enclaveUUID)}` + + `.${KURTOSIS_CLOUD_HOST}`; + // link = `${port.maybeApplicationProtocol ? port.maybeApplicationProtocol + "://" : ""}${publicIp}:${ + // publicPorts[name].number + // }`; } return { port: {