Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Remove preview gif on offline. Closes #300

Gabe Kangas67e4855b3f2d
diff --git a/core/core.go b/core/core.go
index 62f2a9e736..aae52190e2 100644
--- a/core/core.go
+++ b/core/core.go
@@ -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() {