Replace static_cache_control

pull/4862/head
Oliver Günther 8 years ago
parent 06af06c083
commit 0205127ed4
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 2
      config/environments/test.rb

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

Loading…
Cancel
Save