mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Add svg to image list
This commit is contained in:
parent
c7f8899b82
commit
37e787560e
@ -181,7 +181,7 @@ func GetCacheDurationSecondsForPath(filePath string) int {
|
|||||||
return 31557600
|
return 31557600
|
||||||
} else if fileExtension == ".m3u8" {
|
} else if fileExtension == ".m3u8" {
|
||||||
return 0
|
return 0
|
||||||
} else if fileExtension == ".jpg" || fileExtension == ".png" || fileExtension == ".gif" {
|
} else if fileExtension == ".jpg" || fileExtension == ".png" || fileExtension == ".gif" || fileExtension == ".svg" {
|
||||||
return 60 * 60 * 24
|
return 60 * 60 * 24
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user