From 0afb63f447d3f0896202b01caa92d0fa22a36190 Mon Sep 17 00:00:00 2001 From: tamsin johnson Date: Sat, 12 Dec 2020 15:54:46 -0800 Subject: [PATCH] pass `base_url`, not just `hostname` through to manifest generation Backport(#4663) --- app/controllers/concerns/hyrax/works_controller_behavior.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/concerns/hyrax/works_controller_behavior.rb b/app/controllers/concerns/hyrax/works_controller_behavior.rb index a150ca52aa..08646ce047 100644 --- a/app/controllers/concerns/hyrax/works_controller_behavior.rb +++ b/app/controllers/concerns/hyrax/works_controller_behavior.rb @@ -145,7 +145,7 @@ def iiif_manifest_builder def iiif_manifest_presenter IiifManifestPresenter.new(curation_concern_from_search_results).tap do |p| - p.hostname = request.hostname + p.hostname = request.base_url p.ability = current_ability end end