serve index on sitemap.xml
This commit is contained in:
2
main.go
2
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...")
|
||||
|
Reference in New Issue
Block a user