Browse Source

Add svg to image list

pull/1376/head
Gabe Kangas 4 years ago
parent
commit
37e787560e
  1. 2
      utils/utils.go

2
utils/utils.go

@ -181,7 +181,7 @@ func GetCacheDurationSecondsForPath(filePath string) int { @@ -181,7 +181,7 @@ func GetCacheDurationSecondsForPath(filePath string) int {
return 31557600
} else if fileExtension == ".m3u8" {
return 0
} else if fileExtension == ".jpg" || fileExtension == ".png" || fileExtension == ".gif" {
} else if fileExtension == ".jpg" || fileExtension == ".png" || fileExtension == ".gif" || fileExtension == ".svg" {
return 60 * 60 * 24
}

Loading…
Cancel
Save