Remove preview gif on offline. Closes #300

This commit is contained in:
Gabe Kangas 2020-11-02 19:39:52 -08:00
parent 51da650d45
commit fe0021b8c8

View File

@ -96,6 +96,9 @@ func transitionToOfflineVideoStreamContent() {
// Copy the logo to be the thumbnail
utils.Copy(filepath.Join("webroot", config.Config.InstanceDetails.Logo.Large), "webroot/thumbnail.jpg")
// Delete the preview Gif
os.Remove(path.Join(config.WebRoot, "preview.gif"))
}
func resetDirectories() {