From 37e787560ec67be1c837bad0c871600262d0bd73 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 3 Sep 2021 21:38:25 -0700 Subject: [PATCH] Add svg to image list --- utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/utils.go b/utils/utils.go index 06756b359..054fec779 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -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 }