fix: sitemap url change to 'sitemap.xml'

pull/201/head
1379 2 years ago
parent 8793159cf5
commit 9a4a06ead4

@ -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))

Loading…
Cancel
Save