Upgrade to Crystal 0.35.1

This commit is contained in:
Alex Ling
2020-12-06 06:50:27 +00:00
parent b2dc44a919
commit 455315a362
11 changed files with 46 additions and 43 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class StaticHandler < Kemal::Handler
slice = Bytes.new file.size
file.read slice
return send_file env, slice, file.mime_type
return send_file env, slice, MIME.from_filename file.path
end
call_next env
end