Finalize/fix RSS feeds

This commit is contained in:
2022-08-27 21:35:05 +02:00
parent c1a701353a
commit 684859c197
5 changed files with 12 additions and 10 deletions
+2 -2
View File
@@ -105,12 +105,12 @@ func routes(h handler.Service, r fiber.Router) {
return h.HandleGuidePage(c, CreateContext(c))
})
r.Get("/news/feed", func(c *fiber.Ctx) error {
r.Get("/news/rss", func(c *fiber.Ctx) error {
c.Type("xml")
return h.HandleNewsFeedPage(c)
})
r.Get("/guide/feed", func(c *fiber.Ctx) error {
r.Get("/guide/rss", func(c *fiber.Ctx) error {
c.Type("xml")
return h.HandleGuideFeedPage(c)
})