Browse Source

Remove preview gif on offline. Closes #300

pull/320/head
Gabe Kangas 5 years ago
parent
commit
fe0021b8c8
  1. 3
      core/core.go

3
core/core.go

@ -96,6 +96,9 @@ func transitionToOfflineVideoStreamContent() { @@ -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() {

Loading…
Cancel
Save