Fix static file handler for Crystal 1.6.0 (#644)

This commit is contained in:
Anton Maminov 2022-08-04 12:42:18 +03:00 committed by GitHub
parent 4aa28c423c
commit f5d767fe7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,5 +75,9 @@ module Kemal
call_next(context)
end
end
private def modification_time(file_path)
File.info(file_path).modification_time
end
end
end