diff --git a/client/src/components/graph/util.ts b/client/src/components/graph/util.ts index 71485f70c..64cbed6ae 100644 --- a/client/src/components/graph/util.ts +++ b/client/src/components/graph/util.ts @@ -164,12 +164,10 @@ function getSpatialUrl(s3URI: string) { if (hostname.includes("staging")) { return `https://cellxgene.staging.single-cell.czi.technology/spatial-deep-zoom/${datasetVersionId}/`; } - - if (hostname.includes("prod")) { - return `https://cellxgene.cziscience.com/spatial-deep-zoom/${datasetVersionId}/`; + if (hostname.includes("dev") || hostname.includes("localhost")) { + return `https://cellxgene.dev.single-cell.czi.technology/spatial-deep-zoom/${datasetVersionId}/`; } - - return `https://cellxgene.dev.single-cell.czi.technology/spatial-deep-zoom/${datasetVersionId}/`; + return `https://cellxgene.cziscience.com/spatial-deep-zoom/${datasetVersionId}/`; } function getDatasetVersionId(s3URI: string) {