mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
fix static file handler
This commit is contained in:
parent
4aa28c423c
commit
dac4d528ff
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…
Add table
Add a link
Reference in a new issue