header must be fixnum
This commit is contained in:
parent
ab866b4fe2
commit
4fd46ad944
|
@ -46,7 +46,7 @@ class Travis::Web::App
|
|||
set_config(content) if index? file
|
||||
|
||||
headers = {
|
||||
'Content-Length' => content.bytesize,
|
||||
'Content-Length' => content.bytesize.to_s,
|
||||
'Content-Location' => route_for(file),
|
||||
'Cache-Control' => cache_control(file),
|
||||
'Content-Location' => route_for(file),
|
||||
|
|
Loading…
Reference in New Issue
Block a user