Skip to content

Commit

Permalink
don't overwrite id.loc.gov urls for staging
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismattmiller committed Oct 23, 2024
1 parent fa8d5ec commit 2e05a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils_network.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.')

Expand Down

0 comments on commit 2e05a03

Please sign in to comment.