@sjcrh/proteinpaint-server 2.81.2 → 2.81.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-server",
3
- "version": "2.81.2",
3
+ "version": "2.81.3",
4
4
  "type": "module",
5
5
  "description": "a genomics visualization tool for exploring a cohort's genotype and phenotype data",
6
6
  "main": "src/app.js",
@@ -3,7 +3,6 @@ import serverconfig from "#src/serverconfig.js";
3
3
  import { get_samples } from "#src/termdb.sql.js";
4
4
  import { makeFilter } from "#src/mds3.gdc.js";
5
5
  import { cachedFetch } from "#src/utils.js";
6
- import { resolve } from "url";
7
6
  const api = {
8
7
  endpoint: "termdb/topVariablyExpressedGenes",
9
8
  methods: {
@@ -182,7 +181,7 @@ function gdcValidateQuery(ds, genome) {
182
181
  throw "The server has not finished caching the case IDs: try again in about 2 minutes.";
183
182
  }
184
183
  const { host, headers } = ds.getHostHeaders(q);
185
- const url = resolve(host.geneExp, "/gene_expression/gene_selection");
184
+ const url = `${host.geneExp}/gene_expression/gene_selection`;
186
185
  try {
187
186
  const response = await cachedFetch(
188
187
  url,