Fix typo in StaticFileHandler

This commit is contained in:
Omar Roth 2019-06-23 15:41:44 -05:00
parent 6cd884555c
commit b31d1c06f5
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2

View file

@ -147,7 +147,6 @@ module Kemal
return
end
puts "Sending cached file, #{@cached_files.sum { |element| element[1][:data].bytesize }}"
send_file(context, file_path, file[:data], file[:filestat])
else
is_dir = Dir.exists? file_path