lib/spotlight/dor/resources/engine.rb in spotlight-dor-resources-0.0.3 vs lib/spotlight/dor/resources/engine.rb in spotlight-dor-resources-0.0.4
- old
+ new
@@ -1,13 +1,14 @@
require 'spotlight/engine'
require 'spotlight/dor/resources'
module Spotlight::Dor::Resources
+ # :nodoc:
class Engine < ::Rails::Engine
-
- initializer "spotlight.dor.initialize" do
+ initializer 'spotlight.dor.initialize' do
Spotlight::Engine.config.resource_providers << Spotlight::Resources::Searchworks
Spotlight::Engine.config.resource_providers << Spotlight::Resources::Purl
Spotlight::Dor::Resources::Engine.config.parallel_options = { in_threads: 1 }
+ Spotlight::Dor::Resources::Engine.config.stacks_iiif_url = 'https://stacks.stanford.edu/image/iiif'
end
end
end