Skip to content

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

Use thumbnail and preview gif controllers

Gabe Kangas705c1d38a39e
diff --git a/router/router.go b/router/router.go
index ea9f509bb6..0c4f0998e8 100644
--- a/router/router.go
+++ b/router/router.go
@@ -31,11 +31,15 @@ func Start() error {
// The admin web app.
http.HandleFunc("/admin", middleware.RequireAdminAuth(controllers.IndexHandler))
+ // Images
+ http.HandleFunc("/thumbnail.jpg", controllers.GetThumbnail)
+ http.HandleFunc("/preview.gif", controllers.GetPreview)
+ http.HandleFunc("/logo", controllers.GetLogo)
+
// Return a single emoji image.
http.HandleFunc("/img/emoji/", middleware.RequireAdminAuth(controllers.GetCustomEmojiImage))
// return the logo
- http.HandleFunc("/logo", controllers.GetLogo)
// return a logo that's compatible with external social networks
http.HandleFunc("/logo/external", controllers.GetCompatibleLogo)