Remove preview gif on offline. Closes #300
This commit is contained in:
parent
51da650d45
commit
fe0021b8c8
@ -96,6 +96,9 @@ func transitionToOfflineVideoStreamContent() {
|
|||||||
|
|
||||||
// Copy the logo to be the thumbnail
|
// Copy the logo to be the thumbnail
|
||||||
utils.Copy(filepath.Join("webroot", config.Config.InstanceDetails.Logo.Large), "webroot/thumbnail.jpg")
|
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() {
|
func resetDirectories() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user