summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2019-06-23 15:41:44 -0500
committerOmar Roth <omarroth@protonmail.com>2019-06-23 15:41:44 -0500
commitb31d1c06f5af118fa83ecb0ed3f06482bb8d8487 (patch)
tree3924551a35bb1af8f1ffdb66eefc4c728d8b55dc
parent6cd884555c3ea3a108fe20d5b7ccbba9bd49bb4c (diff)
downloadinvidious-b31d1c06f5af118fa83ecb0ed3f06482bb8d8487.tar.gz
invidious-b31d1c06f5af118fa83ecb0ed3f06482bb8d8487.tar.bz2
invidious-b31d1c06f5af118fa83ecb0ed3f06482bb8d8487.zip
Fix typo in StaticFileHandler
-rw-r--r--src/invidious/helpers/static_file_handler.cr1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/invidious/helpers/static_file_handler.cr b/src/invidious/helpers/static_file_handler.cr
index 1b8f5395..87edbcd3 100644
--- a/src/invidious/helpers/static_file_handler.cr
+++ b/src/invidious/helpers/static_file_handler.cr
@@ -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