mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 06:40:54 +03:00
web client: add HTML5 player
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -443,7 +443,7 @@ func checkIfRange(r *http.Request, modtime time.Time) condResult {
|
||||
if err != nil {
|
||||
return condFalse
|
||||
}
|
||||
if modtime.Add(60 * time.Second).Before(t) {
|
||||
if modtime.Unix() == t.Unix() {
|
||||
return condTrue
|
||||
}
|
||||
return condFalse
|
||||
|
||||
Reference in New Issue
Block a user