From 2e05a03eeb12267cdf46c23dee9ae123eb844392 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Wed, 23 Oct 2024 16:30:21 -0400 Subject: [PATCH] don't overwrite id.loc.gov urls for staging --- src/lib/utils_network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils_network.js b/src/lib/utils_network.js index 06b6d4b7..426c912e 100644 --- a/src/lib/utils_network.js +++ b/src/lib/utils_network.js @@ -511,7 +511,7 @@ const utilsNetwork = { //if we are in production use preprod - if (returnUrls.env == 'production' || returnUrls.env == 'staging'){ + if (returnUrls.env == 'production'){ jsonuri = jsonuri.replace('http://id.', 'https://preprod-8080.id.') jsonuri = jsonuri.replace('https://id.', 'https://preprod-8080.id.')