Skip to content

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

Remove unused var

Gabe Kangas896305aee5b8
diff --git a/controllers/logo.go b/controllers/logo.go
index 6d4cd0befc..580a0cb5b3 100644
--- a/controllers/logo.go
+++ b/controllers/logo.go
@@ -67,10 +67,6 @@ func GetCompatibleLogo(w http.ResponseWriter, r *http.Request) {
cacheTime := utils.GetCacheDurationSecondsForPath(imagePath)
writeBytesAsImage(imageBytes, contentType, w, cacheTime)
- referrer := r.Referer()
- if referrer == "" {
- referrer = "an external site"
- }
if !_hasWarnedSVGLogo {
log.Warnf("an external site requested your logo. because many social networks do not support SVGs we returned a placeholder instead. change your current logo to a png or jpeg to be most compatible with external social networking sites.")
_hasWarnedSVGLogo = true