Fix typo in StaticFileHandler
This commit is contained in:
parent
6cd884555c
commit
b31d1c06f5
1 changed files with 0 additions and 1 deletions
|
@ -147,7 +147,6 @@ module Kemal
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
puts "Sending cached file, #{@cached_files.sum { |element| element[1][:data].bytesize }}"
|
|
||||||
send_file(context, file_path, file[:data], file[:filestat])
|
send_file(context, file_path, file[:data], file[:filestat])
|
||||||
else
|
else
|
||||||
is_dir = Dir.exists? file_path
|
is_dir = Dir.exists? file_path
|
||||||
|
|
Loading…
Reference in a new issue