mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-30 02:32:56 +05:30
Fix typo in StaticFileHandler
This commit is contained in:
parent
6cd884555c
commit
b31d1c06f5
@ -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 New Issue
Block a user