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