diff --git a/handler/router.go b/handler/router.go index c52bf6b..a4b1f37 100644 --- a/handler/router.go +++ b/handler/router.go @@ -293,7 +293,7 @@ func (s *Server) RegisterRouters() { contentRouter.GET("/feed.xml", s.wrapTextHandler(s.FeedHandler.Feed)) contentRouter.GET("/feed/categories/:slug", s.wrapTextHandler(s.FeedHandler.CategoryFeed)) contentRouter.GET("/atom/categories/:slug", s.wrapTextHandler(s.FeedHandler.CategoryAtom)) - contentRouter.GET("/sitemap", s.wrapTextHandler(s.FeedHandler.SitemapXML)) + contentRouter.GET("/sitemap.xml", s.wrapTextHandler(s.FeedHandler.SitemapXML)) contentRouter.GET("/sitemap.html", s.wrapHTMLHandler(s.FeedHandler.SitemapHTML)) contentRouter.GET("/version", s.wrapHandler(s.ViewHandler.Version))