From 793032ffd73fd4d6063911b996c1380f8bddfd60 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Fri, 3 Mar 2023 20:53:29 +0100 Subject: [PATCH] serve index on sitemap.xml --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 154aa49..7f8c432 100644 --- a/main.go +++ b/main.go @@ -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...")