diff --git a/config/environments/production.rb b/config/environments/production.rb index a5f1794..89d029d 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -84,7 +84,7 @@ Debshots::Application.configure do config.log_formatter = ::Logger::Formatter.new # URL prefix leading to the static images that should get delivered by the web server - config.images_path_prefix = '/screenshots' + # config.images_path_prefix = '/screenshots' config.package_sources = [ { @@ -93,4 +93,11 @@ Debshots::Application.configure do #components: ['main','restricted','universe','multiverse'] } ] + + config.images_path = Rails.root.join('public', 'screenshots') + + config.image_sizes = { + large: '800x600', + small: '160x120', + } end