From 03244091c2f3308170c6626b12aaf01c474efc99 Mon Sep 17 00:00:00 2001 From: Justin Kenyon Date: Thu, 7 May 2026 15:05:32 -0400 Subject: [PATCH] Serve topic logos from explore-feed.github.com instead of github.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The topics block was emitting logo URLs as `https://github.com/github/explore/blob/main/...?raw=true`, which github/github's CSP doesn't allow as an img-src on biztools pages (e.g. https://admin.github.com/biztools/topics) — so the logos fail to render. The collections block above already uses `{{ site.url }}` (which is https://explore-feed.github.com per CNAME), and that host is the intended canonical home for these assets. Switch the topics block to the same pattern. The companion CSP allowlist change in github/github adds `explore-feed.github.com` to img-src. --- feed.json.liquid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed.json.liquid b/feed.json.liquid index dea572d291a..82bbad9997a 100644 --- a/feed.json.liquid +++ b/feed.json.liquid @@ -42,7 +42,7 @@ permalink: feed.json "logo": {% if topic.logo == null %} null, {% else %} - "https://github.com/github/explore/blob/main{{ topic.id | remove_first: "/index" }}/{{ topic.logo }}?raw=true", + "{{ site.url }}{{ topic.id | remove_first: "/index" }}/{{ topic.logo }}", {% endif %} "released": {{ topic.released | jsonify }}, "short_description": {{ topic.short_description | jsonify }},