FIX: Hacker News onebox favicon (#31115)

This file has changed at some point to an svg instead
of a gif
This commit is contained in:
Martin Brennan
2025-02-03 09:17:13 +10:00
committed by GitHub
parent 4fbbfd45f5
commit d28a4edd1f

View File

@@ -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"],
}