Sha256: 922ac9824cfa7949b0c296d2211046ecd7bee5832ac9b0054548d59712a94aa5

Contents?: true

Size: 365 Bytes

Versions: 7

Compression:

Stored size: 365 Bytes

Contents

require 'iiif-image-api'
module Riiif
  class Engine < ::Rails::Engine
    require 'riiif/rails/routes'

    # How long to cache the tiles for.
    config.cache_duration = 3.days

    config.action_dispatch.rescue_responses['Riiif::ImageNotFoundError'] = :not_found

    # Set to true to use kdu for jp2000 source images
    config.kakadu_enabled = false
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/riiif-2.5.0/lib/riiif/engine.rb
riiif-2.5.0 lib/riiif/engine.rb
riiif-2.4.0 lib/riiif/engine.rb
riiif-2.3.0 lib/riiif/engine.rb
riiif-2.2.0 lib/riiif/engine.rb
riiif-2.1.0 lib/riiif/engine.rb
riiif-2.0.0 lib/riiif/engine.rb