From 3f384816ef7a2128556424b05e17c71cb443e562 Mon Sep 17 00:00:00 2001 From: jrobinso <933148+jrobinso@users.noreply.github.com> Date: Tue, 29 Aug 2023 09:11:36 -0700 Subject: [PATCH] eliminate "randomSeed" argument when fetching genome list --- js/genome/genome.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/genome/genome.js b/js/genome/genome.js index ced1adffd..cef9e2ab1 100644 --- a/js/genome/genome.js +++ b/js/genome/genome.js @@ -66,13 +66,13 @@ const GenomeUtils = { // Get default genomes if (config.loadDefaultGenomes !== false) { try { - const url = DEFAULT_GENOMES_URL + `?randomSeed=${Math.random().toString(36)}&version=${version()}` // prevent caching + const url = DEFAULT_GENOMES_URL const jsonArray = await igvxhr.loadJson(url, {timeout: 5000}) processJson(jsonArray) } catch (e) { console.error(e) try { - const url = BACKUP_GENOMES_URL + `?randomSeed=${Math.random().toString(36)}&version=${version()}` // prevent caching + const url = BACKUP_GENOMES_URL const jsonArray = await igvxhr.loadJson(url, {}) processJson(jsonArray) } catch (e) {