mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Fix static file handler for Crystal 1.6.0 (#644)
This commit is contained in:
parent
4aa28c423c
commit
f5d767fe7e
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue