Sha256: e3877a59bbfd50c83d8002e6d215c1bcf9b8d663bf516701d3d966c156ca7f5a
Contents?: true
Size: 1.39 KB
Versions: 5
Compression:
Stored size: 1.39 KB
Contents
# rubocop:disable Lint/UnusedBlockArgument IiifPrint.config do |config| # NOTE: WorkTypes and models are used synonymously here. # Add models to be excluded from search so the user # would not see them in the search results. # by default, use the human readable versions like: # @example # # config.excluded_model_name_solr_field_values = ['Generic Work', 'Image'] # # config.excluded_model_name_solr_field_values = [] # Add configurable solr field key for searching, # default key is: 'human_readable_type_sim' # if another key is used, make sure to adjust the # config.excluded_model_name_solr_field_values to match # @example # config.excluded_model_name_solr_field_key = 'some_solr_field_key' if Rails.env.development? if DerivativeRodeo.config.aws_s3_access_key_id.present? && DerivativeRodeo.config.aws_s3_secret_access_key.present? Rails.logger.info("DerivativeRodeo S3 Credentials detected using 's3' for IiifPrint::DerivativeRodeoService.preprocessed_location_adapter_name") IiifPrint::DerivativeRodeoService.preprocessed_location_adapter_name = 's3' else Rails.logger.info("DerivativeRodeo S3 Credentials not-detected using 'file' for IiifPrint::DerivativeRodeoService.preprocessed_location_adapter_name") IiifPrint::DerivativeRodeoService.preprocessed_location_adapter_name = 'file' end end end # rubocop:enable Lint/UnusedBlockArgument
Version data entries
5 entries across 5 versions & 1 rubygems