|
|
|
@ -46,7 +46,7 @@ OpenProject::Application.configure do |
|
|
|
|
|
|
|
|
|
# Configure static asset server for tests with Cache-Control for performance. |
|
|
|
|
config.public_file_server.enabled = true |
|
|
|
|
config.static_cache_control = 'public, max-age=3600' |
|
|
|
|
config.config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' } |
|
|
|
|
|
|
|
|
|
# Show full error reports and disable caching. |
|
|
|
|
config.consider_all_requests_local = true |
|
|
|
|