Skip to content

Commit a1dac11

Browse files
committed
Switch default catalog on anvil-cmg/prod
1 parent 688b575 commit a1dac11

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

explorer/site-config/anvil-cmg/dev/config.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ const logoUsagov = "/images/logoUsagov.png";
2121
const SLOGAN = "NHGRI Analysis Visualization and Informatics Lab-space";
2222
export const URL_DATASETS = "/datasets";
2323

24-
export function make_config(browserUrl: string): SiteConfig {
24+
export function make_config(
25+
browserUrl: string,
26+
catalog: string=CATALOG_DEFAULT
27+
): SiteConfig {
2528
return {
2629
analytics: {
2730
gtmAuth: "up3ucjProssPj7Iq59W45g", // GTM environment-specific
@@ -90,10 +93,10 @@ export function make_config(browserUrl: string): SiteConfig {
9093
],
9194
dataSource: {
9295
defaultDetailParams: {
93-
catalog: CATALOG_DEFAULT,
96+
catalog: catalog,
9497
},
9598
defaultListParams: {
96-
catalog: CATALOG_DEFAULT,
99+
catalog: catalog,
97100
size: "25",
98101
sort: "entryId",
99102
},

explorer/site-config/anvil-cmg/prod/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { downloadColumn } from "../dev/index/filesEntityConfig";
77
import { authenticationConfig } from "./authentication/authentication";
88

99
const config: SiteConfig = {
10-
...make_config("https://prod.anvil.gi.ucsc.edu"),
10+
...make_config("https://prod.anvil.gi.ucsc.edu", "anvil1"),
1111
exportToTerraUrl: "https://app.terra.bio/",
1212
};
1313

0 commit comments

Comments
 (0)