From 0edbd9a8e83ee6fcdbc7ec1ea4953c3208ae547d Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 22 Dec 2023 17:37:16 +0000 Subject: [PATCH] Fix feed favicon --- website/common/feed_generators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/common/feed_generators.py b/website/common/feed_generators.py index 6a64df1..17b362b 100644 --- a/website/common/feed_generators.py +++ b/website/common/feed_generators.py @@ -17,7 +17,7 @@ class CustomFeed(DefaultFeed): def add_root_elements(self, handler: SimplerXMLGenerator) -> None: super().add_root_elements(handler) handler.startElement("image", {}) - handler.addQuickElement("url", self.request.build_absolute_uri("favicon.ico")) + handler.addQuickElement("url", self.request.build_absolute_uri("/favicon.ico")) handler.addQuickElement("title", self.feed["title"]) handler.addQuickElement("link", self.feed["link"]) handler.endElement("image")