Skip to content

Commit

Permalink
update condition
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloster committed Jun 7, 2024
1 parent 13b647b commit f7a8b9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/graph/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function getSpatialUrl(s3URI: string) {
if (hostname.includes("staging")) {
return `https://cellxgene.staging.single-cell.czi.technology/spatial-deep-zoom/${datasetVersionId}/`;
}
if (hostname.includes("dev")) {
if (hostname.includes("dev") || hostname.includes("localhost")) {
return `https://cellxgene.dev.single-cell.czi.technology/spatial-deep-zoom/${datasetVersionId}/`;
}
return `https://cellxgene.cziscience.com/spatial-deep-zoom/${datasetVersionId}/`;
Expand Down

0 comments on commit f7a8b9f

Please sign in to comment.