Merge branch 'master' of github.com:travis-ci/travis-web

This commit is contained in:
Lisa Passing 2015-02-19 12:12:11 +01:00
commit 583922d11f

View File

@ -138,9 +138,10 @@ class Travis::Web::App
end end
def expires(file) def expires(file)
case path_for(file) if fingerprinted?(file)
when '/' then '0' (server_start + age).httpdate
else (server_start + age).httpdate else
'0'
end end
end end