Skip to content

A platform for community discussion. Free, open, simple.

FIX: Hacker News onebox favicon (#31115)

Martin Brennand28a4edd1ff6
diff --git a/lib/onebox/engine/hackernews_onebox.rb b/lib/onebox/engine/hackernews_onebox.rb
index 10591d2019b..ff5f541f93c 100644
--- a/lib/onebox/engine/hackernews_onebox.rb
+++ b/lib/onebox/engine/hackernews_onebox.rb
@@ -29,7 +29,7 @@ module Onebox
data = {
link: @url,
title: Onebox::Helpers.truncate(raw["title"], 80),
- favicon: "https://news.ycombinator.com/y18.gif",
+ favicon: "https://news.ycombinator.com/y18.svg",
timestamp: Time.at(raw["time"]).strftime("%-l:%M %p - %-d %b %Y"),
author: raw["by"],
}