Config variables fixed for production environment

This commit is contained in:
Christoph Haas 2016-06-14 16:59:40 +02:00
parent 011a61afd4
commit 36f9ea3b6f

View file

@ -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