Config variables fixed for production environment
This commit is contained in:
parent
011a61afd4
commit
36f9ea3b6f
1 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue