fix: sitemap url change to 'sitemap.xml'

pull/202/head
1379 2 years ago committed by 1379Monitor
parent 8793159cf5
commit 492bdd7a68

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