serve index on sitemap.xml

This commit is contained in:
2023-03-03 20:53:29 +01:00
parent 84f8f866b0
commit 793032ffd7

View File

@@ -1249,7 +1249,7 @@ func main() {
r.GET("/match/:id/chat", getMatchChat)
r.GET("/matches", getMatches)
r.GET("/matches/next/:time", getMatches)
r.GET("/sitemap/index", getSiteMapIndex)
r.GET("/sitemap.xml", getSiteMapIndex)
r.GET("/sitemap/:id", getSiteMap)
log.Info("Start listening...")