Skip to content

Commit

Permalink
set explicitly the https protocol in the delivery locations url
Browse files Browse the repository at this point in the history
  • Loading branch information
christinach committed Sep 24, 2024
1 parent 1f9ce2c commit 53aa181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/delivery_locations/index.json.jbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ json.array!(@delivery_locations) do |delivery_location|
if Rails.env.test?
json.path delivery_location_path(delivery_location, format: :json)
else
json.url delivery_location_url(delivery_location, format: :json)
json.url delivery_location_url(delivery_location, format: :json, protocol: 'https')
end
json.partial! 'holding_locations/json_partials/library',
library: delivery_location.library
Expand Down

0 comments on commit 53aa181

Please sign in to comment.