diff --git a/internal/websocket/hub.go b/internal/websocket/hub.go index 4190493da..d423cc679 100644 --- a/internal/websocket/hub.go +++ b/internal/websocket/hub.go @@ -151,11 +151,7 @@ func (h *Hub) checkOrigin(r *http.Request) bool { return true } - // Still check for exact same-origin match - if origin == requestOrigin { - return true - } - + // Note: same-origin match already handled above (line 116) log.Warn(). Str("origin", origin). Str("requestOrigin", requestOrigin).