Skip to content

Commit

Permalink
add check if biblio solr is solrcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Jul 26, 2024
1 parent 9f11b1c commit 73a5ffe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/authority_browse/term_fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ def conn
builder.response :json
builder.adapter :httpx
builder.headers["Content-Type"] = "application/json"
if S.biblio_solrcloud_on?
builder.request :authorization, :basic, S.solr_user, S.solr_password
end
end
end

Expand Down

0 comments on commit 73a5ffe

Please sign in to comment.